Add extended registrar's info to "pending_update_request_for_old_registrant" mailer

#180
This commit is contained in:
Artur Beljajev 2016-11-07 02:22:03 +02:00
parent 34c1e0d323
commit fc9104a232
11 changed files with 239 additions and 32 deletions

View file

@ -17,4 +17,11 @@ RSpec.describe RegistrantPresenter do
expect(presenter.ident).to eq('test ident')
end
end
describe '#email' do
it 'returns email' do
expect(registrant).to receive(:email).and_return('test email')
expect(presenter.email).to eq('test email')
end
end
end