mirror of
https://github.com/internetee/registry.git
synced 2025-08-02 07:52:04 +02:00
Merge branch 'rspec' into registry-480
# Conflicts: # spec/views/mailers/shared/registrant/registrant_shared.rb
This commit is contained in:
commit
9486138e5e
14 changed files with 38 additions and 308 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue