spec/spec_helper.rb in rubocop-rspec-1.30.1 vs spec/spec_helper.rb in rubocop-rspec-1.31.0
- old
+ new
@@ -19,17 +19,9 @@
meta[:type] = :cop_spec
end
config.order = :random
- config.expect_with :rspec do |expectations|
- expectations.syntax = :expect # Disable `should`
- end
-
- config.mock_with :rspec do |mocks|
- mocks.syntax = :expect # Disable `should_receive` and `stub`
- end
-
# Forbid RSpec from monkey patching any of our objects
config.disable_monkey_patching!
# We should address configuration warnings when we upgrade
config.raise_errors_for_deprecations!