Merge branch 'rspec' into registry-480

# Conflicts:
#	spec/views/mailers/shared/registrant/registrant_shared.rb
This commit is contained in:
Artur Beljajev 2017-05-25 23:36:40 +03:00
commit 9486138e5e
14 changed files with 38 additions and 308 deletions

View file

@ -5,8 +5,10 @@ RSpec.shared_examples 'domain mailer registrant info' do |template_path|
let(:registrant) { instance_spy(RegistrantPresenter) }
before :example do
allow(view).to receive(:registrant).and_return(registrant)
allow(view).to receive(:address_processing)
without_partial_double_verification do
allow(view).to receive(:registrant).and_return(registrant)
allow(view).to receive(:address_processing)
end
end
it 'has name' do