Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 97081bc

Browse files
authored
Merge pull request rubocop#714 from rubocop-hq/trim-spec-config
Remove unnecessary RSpec configuration
2 parents 84c179c + 2bc4df0 commit 97081bc

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

spec/spec_helper.rb

-8
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,6 @@ module SpecHelper
2121

2222
config.order = :random
2323

24-
config.expect_with :rspec do |expectations|
25-
expectations.syntax = :expect # Disable `should`
26-
end
27-
28-
config.mock_with :rspec do |mocks|
29-
mocks.syntax = :expect # Disable `should_receive` and `stub`
30-
end
31-
3224
# Forbid RSpec from monkey patching any of our objects
3325
config.disable_monkey_patching!
3426

0 commit comments

Comments
 (0)