Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Set verify_partial_doubles=true

Oliver Günther7f622a24f615
diff --git a/spec/rspec_helper.rb b/spec/rspec_helper.rb
index 4e76b12c9ab..82ef429903b 100644
--- a/spec/rspec_helper.rb
+++ b/spec/rspec_helper.rb
@@ -60,7 +60,7 @@ 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|
- mocks.verify_partial_doubles = false
+ mocks.verify_partial_doubles = true
end
# This option will default to `:apply_to_host_groups` in RSpec 4 (and will