config/default.yml in rubocop-rspec-2.11.1 vs config/default.yml in rubocop-rspec-2.12.0

- old
+ new

@@ -781,15 +781,17 @@ Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/VariableName RSpec/VerifiedDoubleReference: Description: Checks for consistent verified double reference style. Enabled: pending + SafeAutoCorrect: false EnforcedStyle: constant SupportedStyles: - constant - string VersionAdded: 2.10.0 + VersionChanged: '2.12' Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/VerifiedDoubleReference RSpec/VerifiedDoubles: Description: Prefer using verifying doubles over normal doubles. Enabled: true @@ -830,10 +832,16 @@ EnabledMethods: [] VersionAdded: '1.17' VersionChanged: '2.0' Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Capybara/FeatureMethods +RSpec/Capybara/SpecificMatcher: + Description: Checks for there is a more specific matcher offered by Capybara. + Enabled: pending + VersionAdded: '2.12' + Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Capybara/SpecificMatcher + RSpec/Capybara/VisibilityMatcher: Description: Checks for boolean visibility in Capybara finders. Enabled: true VersionAdded: '1.39' VersionChanged: '2.0' @@ -898,9 +906,16 @@ RSpec/Rails/AvoidSetupHook: Description: Checks that tests use RSpec `before` hook over Rails `setup` method. Enabled: pending VersionAdded: '2.4' Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Rails/AvoidSetupHook + +RSpec/Rails/HaveHttpStatus: + Description: Checks that tests use `have_http_status` instead of equality matchers. + Enabled: pending + SafeAutoCorrect: false + VersionAdded: '2.12' + Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Rails/HaveHttpStatus RSpec/Rails/HttpStatus: Description: Enforces use of symbolic or numeric value to describe HTTP status. Enabled: true EnforcedStyle: symbolic