Bump rubocop-capybara from 2.21.0 to 2.22.1

`Capybara/ClickLinkOrButtonStyle` is now deprecated, so we're replacing
it with `Capybara/AmbiguousClick`.

We're also changing the `.rubocop.yml` file because we were getting a
warning:

```
rubocop-capybara extension supports plugin, specify `plugins:
rubocop-capybara` instead of `require: rubocop-capybara` in
.rubocop.yml.  For more information, see
https://docs.rubocop.org/rubocop/plugin_migration_guide.html.
```

Bumps [rubocop-capybara](https://github.com/rubocop/rubocop-capybara) from 2.21.0 to 2.22.1.
- [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.21.0...v2.22.1)

---
updated-dependencies:
- dependency-name: rubocop-capybara
  dependency-version: 2.22.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot]
2025-10-31 12:37:06 +00:00
committed by Javi Martín
parent 00bff60afa
commit 6bc24755bc
3 changed files with 7 additions and 7 deletions

View File

@@ -639,8 +639,9 @@ GEM
rubocop-ast (1.47.1)
parser (>= 3.3.7.2)
prism (~> 1.4)
rubocop-capybara (2.21.0)
rubocop (~> 1.41)
rubocop-capybara (2.22.1)
lint_roller (~> 1.1)
rubocop (~> 1.72, >= 1.72.1)
rubocop-factory_bot (2.27.1)
lint_roller (~> 1.1)
rubocop (~> 1.72, >= 1.72.1)
@@ -886,7 +887,7 @@ DEPENDENCIES
ros-apartment (~> 3.2.0)
rspec-rails (~> 7.1.1)
rubocop (~> 1.76.1)
rubocop-capybara (~> 2.21.0)
rubocop-capybara (~> 2.22.1)
rubocop-factory_bot (~> 2.27.1)
rubocop-performance (~> 1.23.1)
rubocop-rails (~> 2.29.1)