mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Don't verify partial doubles because we can't fix all specs now
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user