config/default.yml in rubocop-rspec-1.21.0 vs config/default.yml in rubocop-rspec-1.22.0

- old
+ new

@@ -102,10 +102,20 @@ Description: Checks for long examples. Enabled: true Max: 5 StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ExampleLength +RSpec/ExampleWithoutDescription: + Description: Checks for examples without a description. + Enabled: true + EnforcedStyle: always_allow + SupportedStyles: + - always_allow + - single_line_only + - disallow + StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ExampleWithoutDescription + RSpec/ExampleWording: Description: Checks for common mistakes in example descriptions. Enabled: true CustomTransform: be: is @@ -119,9 +129,18 @@ Description: Checks for `expect(...)` calls containing literal values. Enabled: true Exclude: - spec/routing/**/* StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ExpectActual + +RSpec/ExpectChange: + Description: Checks for consistent style of change matcher. + Enabled: true + EnforcedStyle: method_call + SupportedStyles: + - method_call + - block + StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ExpectChange RSpec/ExpectInHook: Enabled: true Description: Do not use `expect` in hooks such as `before`. StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ExpectInHook