Skip to content

Commit 9ea4ac2

Browse files
committed
rubocop
1 parent 3c548fd commit 9ea4ac2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

spec/mailers/report_mailer_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
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
@@ -25,7 +25,7 @@
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

spec/policies/report_policy_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
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

0 commit comments

Comments
 (0)