mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 01:11:43 +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
|
@ -5,10 +5,13 @@ RSpec.describe 'admin/billing/prices/_form' do
|
|||
let(:price) { build_stubbed(:price) }
|
||||
|
||||
before :example do
|
||||
allow(view).to receive(:price).and_return(price)
|
||||
allow(view).to receive(:zones).and_return([])
|
||||
allow(view).to receive(:operation_categories).and_return([])
|
||||
allow(view).to receive(:durations).and_return([])
|
||||
without_partial_double_verification do
|
||||
allow(view).to receive(:price).and_return(price)
|
||||
allow(view).to receive(:zones).and_return([])
|
||||
allow(view).to receive(:operation_categories).and_return([])
|
||||
allow(view).to receive(:durations).and_return([])
|
||||
end
|
||||
|
||||
stub_template '_form_errors' => ''
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue