config/default.yml in rubocop-rspec-1.12.0 vs config/default.yml in rubocop-rspec-1.13.0

- old
+ new

@@ -51,21 +51,23 @@ Description: Checks for long examples. Enabled: true Max: 5 RSpec/ExampleWording: - Description: Checks that example descriptions do not start with "should". + Description: Checks for common mistakes in example descriptions. Enabled: true CustomTransform: be: is have: has not: does not IgnoredWords: [] RSpec/ExpectActual: Description: Checks for `expect(...)` calls containing literal values. Enabled: true + Exclude: + - spec/routing/**/* RSpec/ExpectOutput: Description: Checks for opportunities to use `expect { ... }.to output`. Enabled: true @@ -105,10 +107,18 @@ RSpec/InstanceVariable: Description: Checks for instance variable usage in specs. AssignmentOnly: false Enabled: true +RSpec/ItBehavesLike: + Description: Checks that only one `it_behaves_like` style is used. + Enabled: true + EnforcedStyle: it_behaves_like + SupportedStyles: + - it_behaves_like + - it_should_behave_like + RSpec/LeadingSubject: Description: Checks for `subject` definitions that come after `let` definitions. Enabled: true RSpec/LetSetup: @@ -166,9 +176,13 @@ Description: Check for repeated description strings in example groups. RSpec/RepeatedExample: Enabled: true Description: Check for repeated examples within example groups. + +RSpec/SharedContext: + Description: Checks for proper shared_context and shared_examples usage. + Enabled: true RSpec/SingleArgumentMessageChain: Description: Checks that chains of messages contain more than one element. Enabled: true