fix mailer specs (#921)

This commit is contained in:
Devin Howard 2016-11-07 14:56:35 -05:00 committed by GitHub
parent 0f85abfda2
commit 6a2646c9cd

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