fix mailer specs

This commit is contained in:
Devin Howard 2016-11-07 14:40:25 -05:00
parent 0f85abfda2
commit e4d193572f

View file

@ -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