config/default.yml in rubocop-rspec-1.38.1 vs config/default.yml in rubocop-rspec-1.39.0

- old
+ new

@@ -103,10 +103,16 @@ Description: Checks if an example group does not include any tests. Enabled: true CustomIncludeMethods: [] StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/EmptyExampleGroup +RSpec/EmptyHook: + Description: Checks for empty before and after hooks. + Enabled: true + VersionAdded: 1.39.0 + StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/EmptyHook + RSpec/EmptyLineAfterExample: Description: Checks if there is an empty line after example blocks. Enabled: true AllowConsecutiveOneLiners: true StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/EmptyLineAfterExample @@ -322,11 +328,10 @@ RSpec/MultipleExpectations: Description: Checks if examples contain too many `expect` calls. Enabled: true Max: 1 - AggregateFailuresByDefault: false StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/MultipleExpectations RSpec/MultipleSubjects: Description: Checks if an example group defines `subject` multiple times. Enabled: true @@ -415,10 +420,11 @@ RSpec/ScatteredLet: Description: Checks for let scattered across the example group. Enabled: true StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ScatteredLet + VersionChanged: '1.39' RSpec/ScatteredSetup: Description: Checks for setup scattered across multiple hooks in an example group. Enabled: true StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ScatteredSetup @@ -473,9 +479,15 @@ Capybara/FeatureMethods: Description: Checks for consistent method usage in feature specs. Enabled: true EnabledMethods: [] StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Capybara/FeatureMethods + +Capybara/VisibilityMatcher: + Description: Checks for boolean visibility in capybara finders. + Enabled: true + VersionAdded: '1.39' + StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Capybara/VisibilityMatcher FactoryBot/AttributeDefinedStatically: Description: Always declare attribute values as blocks. Enabled: true StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/FactoryBot/AttributeDefinedStatically