config/default.yml in rubocop-rspec-1.28.0 vs config/default.yml in rubocop-rspec-1.29.0

- old
+ new

@@ -188,17 +188,31 @@ - implicit - each - example StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/HookArgument +RSpec/HooksBeforeExamples: + Enabled: true + Description: Checks for before/around/after hooks that come after an example. + StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/HooksBeforeExamples + RSpec/ImplicitExpect: Description: Check that a consistent implicit expectation style is used. Enabled: true EnforcedStyle: is_expected SupportedStyles: - is_expected - should StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ImplicitExpect + +RSpec/ImplicitSubject: + Enabled: true + Description: Checks for usage of implicit subject (`is_expected` / `should`). + EnforcedStyle: single_line_only + SupportedStyles: + - single_line_only + - disallow + StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ImplicitSubject RSpec/InstanceSpy: Description: Checks for `instance_double` used with `have_received`. Enabled: true StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/InstanceSpy