diff --git a/.rubocop_cc.yml b/.rubocop_cc.yml index bc55373b36f..463f7b1c8bd 100644 --- a/.rubocop_cc.yml +++ b/.rubocop_cc.yml @@ -124,11 +124,13 @@ Capybara/ClickLinkOrButtonStyle: Enabled: true Capybara/FindAllFirst: Enabled: true -Capybara/MatchStyle: +Capybara/AssertStyle: Enabled: true -Capybara/NegationMatcher: +Capybara/RSpec/MatchStyle: Enabled: true -Capybara/NegationMatcherAfterVisit: +Capybara/RSpec/NegationMatcher: + Enabled: true +Capybara/RSpec/NegationMatcherAfterVisit: Enabled: true Capybara/RedundantWithinFind: Enabled: true @@ -140,7 +142,7 @@ Capybara/SpecificActions: Enabled: true Capybara/SpecificFinders: Enabled: true -Capybara/SpecificMatcher: +Capybara/RSpec/SpecificMatcher: Enabled: true FactoryBot/AssociationStyle: Enabled: true diff --git a/Gemfile.lock b/Gemfile.lock index b2961889e98..192f5ceafea 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -476,9 +476,9 @@ GEM rubocop-ast (1.49.1) parser (>= 3.3.7.2) prism (~> 1.7) - rubocop-capybara (2.22.1) + rubocop-capybara (2.23.0) lint_roller (~> 1.1) - rubocop (~> 1.72, >= 1.72.1) + rubocop (~> 1.81) rubocop-factory_bot (2.28.0) lint_roller (~> 1.1) rubocop (~> 1.72, >= 1.72.1)