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 795f54f commit c886a46Copy full SHA for c886a46
spec/spec_helper.rb
@@ -77,6 +77,8 @@ def self.run_all(reporter = nil)
77
# world, current example) reset. This is used to test specs with RSpec.
78
config.around(:example, :with_isolated_config) do |example|
79
RSpec::Core::Sandbox.sandboxed do |sandbox_config|
80
+ sandbox_config.raise_errors_for_deprecations! # Otherwise, deprecations are swallowed
81
+
82
# If there is an example-within-an-example, we want to make sure the inner
83
# example does not get a reference to the outer example (the real spec) if
84
# it calls something like `pending`.
0 commit comments