Disable partial double verification in views

#480
This commit is contained in:
Artur Beljajev 2017-05-25 23:38:17 +03:00
parent 9486138e5e
commit 73bd146816

View file

@ -43,8 +43,10 @@ RSpec.shared_examples 'domain mailer registrant info' do |template_path|
context 'when address processing is enabled' do
before :example do
without_partial_double_verification do
allow(view).to receive(:address_processing).and_return(true)
end
end
address_attributes.each do |attr_name|
it "has #{attr_name}" do
@ -63,8 +65,10 @@ RSpec.shared_examples 'domain mailer registrant info' do |template_path|
context 'when address processing is disabled' do
before :example do
without_partial_double_verification do
allow(view).to receive(:address_processing).and_return(false)
end
end
address_attributes.each do |attr_name|
it "has no #{attr_name}" do