File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1212 let ( :reported_content ) { create ( :rfc , question : 'Inappropriate content for RfC.' ) }
1313
1414 it 'sets the correct subject' do
15- expect ( mail . subject ) . to eq ( I18n . t ( 'report_mailer.report_content.subject' , content_name : RequestForComment . model_name . human ) )
15+ expect ( mail . subject ) . to eq ( I18n . t ( 'report_mailer.report_content.subject' , content_name : RequestForComment . model_name . human ) )
1616 end
1717
1818 it 'includes the reported content' do
2525 end
2626
2727 it 'sets the correct subject' do
28- expect ( mail . subject ) . to eq ( I18n . t ( 'report_mailer.report_content.subject' , content_name : Comment . model_name . human ) )
28+ expect ( mail . subject ) . to eq ( I18n . t ( 'report_mailer.report_content.subject' , content_name : Comment . model_name . human ) )
2929 end
3030
3131 it 'sets the correct receiver' do
Original file line number Diff line number Diff line change 1919
2020 expect ( policy ) . not_to permit ( user , Comment . new )
2121 end
22-
22+
2323 it 'dose not allow reports of your own content' do
2424 user = build_stubbed ( :external_user )
2525
You can’t perform that action at this time.
0 commit comments