We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa284f8 commit 253de2cCopy full SHA for 253de2c
spec/spec_helper.rb
@@ -55,7 +55,8 @@ def self.run_all(reporter = nil)
55
56
config.shared_context_metadata_behavior = :apply_to_host_groups
57
58
- config.disable_monkey_patching!
+ # Zero monkey patching mode is the default and only mode in RSpec 4
59
+ config.disable_monkey_patching! if config.respond_to?(:disable_monkey_patching!)
60
61
config.warnings = true
62
config.raise_on_warning = true
0 commit comments