Fix Rubocop offenses
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user