mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 00:12:03 +02:00
Use without_partial_double_verification instead verify_partial_doubles = false
This commit is contained in:
parent
6cda021d71
commit
6cacf59467
8 changed files with 35 additions and 22 deletions
|
@ -4,7 +4,9 @@ RSpec.shared_examples 'domain mailer registrant info' do
|
|||
let(:registrant) { instance_spy(RegistrantPresenter) }
|
||||
|
||||
before :example do
|
||||
allow(view).to receive(:registrant).and_return(registrant)
|
||||
without_partial_double_verification do
|
||||
allow(view).to receive(:registrant).and_return(registrant)
|
||||
end
|
||||
end
|
||||
|
||||
attributes = %i(
|
||||
|
|
|
@ -4,7 +4,9 @@ RSpec.shared_examples 'domain mailer registrar info' do
|
|||
let(:registrar) { instance_spy(RegistrarPresenter) }
|
||||
|
||||
before :example do
|
||||
allow(view).to receive(:registrar).and_return(registrar)
|
||||
without_partial_double_verification do
|
||||
allow(view).to receive(:registrar).and_return(registrar)
|
||||
end
|
||||
end
|
||||
|
||||
attributes = %i(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue