mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
parent
9486138e5e
commit
73bd146816
1 changed files with 6 additions and 2 deletions
|
@ -43,7 +43,9 @@ RSpec.shared_examples 'domain mailer registrant info' do |template_path|
|
|||
|
||||
context 'when address processing is enabled' do
|
||||
before :example do
|
||||
allow(view).to receive(:address_processing).and_return(true)
|
||||
without_partial_double_verification do
|
||||
allow(view).to receive(:address_processing).and_return(true)
|
||||
end
|
||||
end
|
||||
|
||||
address_attributes.each do |attr_name|
|
||||
|
@ -63,7 +65,9 @@ RSpec.shared_examples 'domain mailer registrant info' do |template_path|
|
|||
|
||||
context 'when address processing is disabled' do
|
||||
before :example do
|
||||
allow(view).to receive(:address_processing).and_return(false)
|
||||
without_partial_double_verification do
|
||||
allow(view).to receive(:address_processing).and_return(false)
|
||||
end
|
||||
end
|
||||
|
||||
address_attributes.each do |attr_name|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue