From e4d193572f7f6489be149f8cc9aafecb0e829813 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Mon, 7 Nov 2016 14:40:25 -0500 Subject: [PATCH] fix mailer specs --- spec/mailers/map_mailer_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/mailers/map_mailer_spec.rb b/spec/mailers/map_mailer_spec.rb index d72163f7..5fed48f5 100644 --- a/spec/mailers/map_mailer_spec.rb +++ b/spec/mailers/map_mailer_spec.rb @@ -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