Don't verify partial doubles because we can't fix all specs now

This commit is contained in:
Maikel Linke
2024-05-09 09:58:06 +10:00
parent d6318b7194
commit 6b2bb0bd32

View File

@@ -108,10 +108,13 @@ RSpec.configure do |config|
# rspec-mocks config goes here. You can use an alternate test double
# library (such as bogus or mocha) by changing the `mock_with` option here.
config.mock_with :rspec do |mocks|
# We use too many mocks at the moment. Activating the following
# feature fails a lot of specs. We should clean it up over time.
#
# Prevents you from mocking or stubbing a method that does not exist on
# a real object. This is generally recommended, and will default to
# `true` in RSpec 4.
mocks.verify_partial_doubles = true
# mocks.verify_partial_doubles = true
end
# Reset locale for all specs.