From fb4c12f16de99cd24a536dea525c79ea82e1fc6d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 26 Jun 2026 10:01:23 +0000 Subject: [PATCH 1/2] Update rubocop-capybara requirement from ~> 2.23.0 to ~> 3.0.0 Updates the requirements on [rubocop-capybara](https://github.com/rubocop/rubocop-capybara) to permit the latest version. - [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.23.0...v3.0.0) --- updated-dependencies: - dependency-name: rubocop-capybara dependency-version: 3.0.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- publify_textfilter_code.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/publify_textfilter_code.gemspec b/publify_textfilter_code.gemspec index 0898b4c..38b6fbe 100644 --- a/publify_textfilter_code.gemspec +++ b/publify_textfilter_code.gemspec @@ -25,7 +25,7 @@ Gem::Specification.new do |s| s.add_development_dependency "appraisal", "~> 2.3" s.add_development_dependency "rspec-rails", "~> 7.1" s.add_development_dependency "rubocop", "~> 1.88.0" - s.add_development_dependency "rubocop-capybara", "~> 2.23.0" + s.add_development_dependency "rubocop-capybara", "~> 3.0.0" s.add_development_dependency "rubocop-factory_bot", "~> 2.28.0" s.add_development_dependency "rubocop-performance", "~> 1.26.1" s.add_development_dependency "rubocop-rails", "~> 2.35.0" From 2034b8f3e62301fb4757a98048277661c72b1831 Mon Sep 17 00:00:00 2001 From: Matijs van Zuijlen Date: Fri, 26 Jun 2026 12:29:05 +0200 Subject: [PATCH 2/2] Update rubocop-capybara configuration --- .rubocop.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index cd481e1..b19a2ac 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -25,8 +25,8 @@ Rails: Enabled: true # Require tests to specify whether an element is a link or a button -Capybara/ClickLinkOrButtonStyle: - EnforcedStyle: strict +Capybara/AmbiguousClick: + Enabled: true # Match style of regular expectations Capybara/RSpec/NegationMatcher: