Disable without_verify_partial_doubles
in statuses/show view spec (#29132)
This commit is contained in:
parent
5b595b8a5a
commit
79b1841805
2 changed files with 17 additions and 10 deletions
|
@ -8,12 +8,6 @@ RSpec.configure do |config|
|
|||
|
||||
config.mock_with :rspec do |mocks|
|
||||
mocks.verify_partial_doubles = true
|
||||
|
||||
config.around(:example, :without_verify_partial_doubles) do |example|
|
||||
mocks.verify_partial_doubles = false
|
||||
example.call
|
||||
mocks.verify_partial_doubles = true
|
||||
end
|
||||
end
|
||||
|
||||
config.before :suite do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue