Fix Rubocop offenses

This commit is contained in:
Sebastian Serth
2022-09-03 00:10:11 +02:00
parent e00d1772ca
commit 87737e50a2

View File

@ -148,7 +148,6 @@ describe UserMailer do
expect(token.expire_at - Time.zone.now).to be_within(5.minutes).of(7.days) expect(token.expire_at - Time.zone.now).to be_within(5.minutes).of(7.days)
end end
it 'sets the correct comment' do it 'sets the correct comment' do
expect(mail.body).to include(request_for_comment.comments.first.text) expect(mail.body).to include(request_for_comment.comments.first.text)
end end
@ -202,7 +201,6 @@ describe UserMailer do
expect(token.expire_at - Time.zone.now).to be_within(5.minutes).of(7.days) expect(token.expire_at - Time.zone.now).to be_within(5.minutes).of(7.days)
end end
it 'sets the correct thank_you_note' do it 'sets the correct thank_you_note' do
expect(mail.body).to include(request_for_comment.thank_you_note) expect(mail.body).to include(request_for_comment.thank_you_note)
end end