diff options
Diffstat (limited to 'spec/support/rspec.rb')
-rw-r--r-- | spec/support/rspec.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/support/rspec.rb b/spec/support/rspec.rb index 00b9aac7bf4..b4a25fd121d 100644 --- a/spec/support/rspec.rb +++ b/spec/support/rspec.rb @@ -15,7 +15,10 @@ require 'rubocop' require 'rubocop/rspec/support' RSpec.configure do |config| - config.mock_with :rspec + config.mock_with :rspec do |mocks| + mocks.verify_doubled_constant_names = true + end + config.raise_errors_for_deprecations! config.include StubConfiguration |