From 2c5b09641d49e15788e369c1478c6f81a96f24dc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 30 Apr 2026 11:09:42 +0000 Subject: [PATCH 1/2] build(deps-dev): bump rubocop-capybara from 2.22.1 to 2.23.0 Bumps [rubocop-capybara](https://github.com/rubocop/rubocop-capybara) from 2.22.1 to 2.23.0. - [Release notes](https://github.com/rubocop/rubocop-capybara/releases) - [Changelog](https://github.com/rubocop/rubocop-capybara/blob/main/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop-capybara/compare/v2.22.1...v2.23.0) --- updated-dependencies: - dependency-name: rubocop-capybara dependency-version: 2.23.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) From cafaa3d397c3788fd3be99ee5fa81cfdcaff9374 Mon Sep 17 00:00:00 2001 From: Philipp Thun Date: Tue, 5 May 2026 14:13:43 +0200 Subject: [PATCH 2/2] Update rubocop-capybara cop names for v2.23.0 Capybara/NegationMatcher, NegationMatcherAfterVisit, and SpecificMatcher moved to Capybara/RSpec/ namespace. Capybara/MatchStyle split into Capybara/AssertStyle and Capybara/RSpec/MatchStyle. --- .rubocop_cc.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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