fix mailer specs
This commit is contained in:
parent
0f85abfda2
commit
e4d193572f
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.body.encoded).to match map.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 'Deny Request' }
|
||||
it { expect(mail.body.encoded).to match 'Allow' }
|
||||
it { expect(mail.body.encoded).to match 'Decline' }
|
||||
end
|
||||
|
||||
describe 'invite_to_edit_email' do
|
||||
|
|
Loading…
Reference in a new issue