fix mailer specs (#921)
This commit is contained in:
parent
0f85abfda2
commit
6a2646c9cd
1 changed files with 2 additions and 2 deletions
|
@ -11,8 +11,8 @@ RSpec.describe MapMailer, type: :mailer do
|
||||||
it { expect(mail.subject).to match map.name }
|
it { expect(mail.subject).to match map.name }
|
||||||
it { expect(mail.body.encoded).to match map.name }
|
it { expect(mail.body.encoded).to match map.name }
|
||||||
it { expect(mail.body.encoded).to match request.user.name }
|
it { expect(mail.body.encoded).to match request.user.name }
|
||||||
it { expect(mail.body.encoded).to match 'Approve Request' }
|
it { expect(mail.body.encoded).to match 'Allow' }
|
||||||
it { expect(mail.body.encoded).to match 'Deny Request' }
|
it { expect(mail.body.encoded).to match 'Decline' }
|
||||||
end
|
end
|
||||||
|
|
||||||
describe 'invite_to_edit_email' do
|
describe 'invite_to_edit_email' do
|
||||||
|
|
Loading…
Add table
Reference in a new issue