[openstreetmap/openstreetmap-website] Bump rubocop-capybara from 2.22.1 to 2.23.0 in the rubocop group (PR #7064)

dependabot[bot] notifications at github.com
Wed May 6 17:19:33 UTC 2026


Bumps the rubocop group with 1 update: [rubocop-capybara](https://github.com/rubocop/rubocop-capybara).

Updates `rubocop-capybara` from 2.22.1 to 2.23.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/rubocop/rubocop-capybara/releases">rubocop-capybara's releases</a>.</em></p>
<blockquote>
<h2>RuboCop Capybara v2.23.0</h2>
<ul>
<li>Bump RuboCop requirement to +1.81. (<a href="https://github.com/ydah"><code>@​ydah</code></a>)</li>
<li>Add new <code>Capybara/RSpec/HaveContent</code> cop. (<a href="https://github.com/nzlaura"><code>@​nzlaura</code></a>)</li>
<li>Move the department associated with <code>Capybara::RSpecMatchers</code> to <code>Capybara/RSpec/*</code>. (<a href="https://github.com/ydah"><code>@​ydah</code></a>)
<ul>
<li>Rename <code>Capybara/CurrentPathExpectation</code> to <code>Capybara/RSpec/CurrentPathExpectation</code></li>
<li>Rename <code>Capybara/SpecificMatcher</code> to <code>Capybara/RSpec/SpecificMatcher</code></li>
<li>Rename <code>Capybara/NegationMatcher</code> to <code>Capybara/RSpec/NegationMatcher</code></li>
<li>Rename <code>Capybara/NegationMatcherAfterVisit</code> to <code>Capybara/RSpec/NegationMatcherAfterVisit</code></li>
<li>Rename <code>Capybara/VisibilityMatcher</code> to <code>Capybara/RSpec/VisibilityMatcher</code></li>
</ul>
</li>
<li>Split <code>Capybara/MatchStyle</code> into <code>Capybara/AssertStyle</code> and <code>Capybara/RSpec/MatchStyle</code>. (<a href="https://github.com/ydah"><code>@​ydah</code></a>)</li>
<li>Fix a false positive for <code>Capybara/FindAllFirst</code> when using logical operators with <code>all('...')[0]</code>. (<a href="https://github.com/ydah"><code>@​ydah</code></a>)</li>
<li>Fix an incorrect autocorrect for <code>Capybara/FindAllFirst</code> when <code>find</code> or <code>all</code> with <code>match: :first</code> uses a receiver and mark autocorrection as unsafe. (<a href="https://github.com/ydah"><code>@​ydah</code></a>)</li>
<li>Fix an error for <code>Capybara/RSpec/HaveSelector</code> when passing only a selector type. (<a href="https://github.com/ydah"><code>@​ydah</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rubocop/rubocop-capybara/blob/main/CHANGELOG.md">rubocop-capybara's changelog</a>.</em></p>
<blockquote>
<h2>2.23.0 (2026-04-30)</h2>
<ul>
<li>Bump RuboCop requirement to +1.81. ([<a href="https://github.com/ydah"><code>@​ydah</code></a>])</li>
<li>Add new <code>Capybara/RSpec/HaveContent</code> cop. ([<a href="https://github.com/nzlaura"><code>@​nzlaura</code></a>])</li>
<li>Move the department associated with <code>Capybara::RSpecMatchers</code> to <code>Capybara/RSpec/*</code>. ([<a href="https://github.com/ydah"><code>@​ydah</code></a>])
<ul>
<li>Rename <code>Capybara/CurrentPathExpectation</code> to <code>Capybara/RSpec/CurrentPathExpectation</code></li>
<li>Rename <code>Capybara/SpecificMatcher</code> to <code>Capybara/RSpec/SpecificMatcher</code></li>
<li>Rename <code>Capybara/NegationMatcher</code> to <code>Capybara/RSpec/NegationMatcher</code></li>
<li>Rename <code>Capybara/NegationMatcherAfterVisit</code> to <code>Capybara/RSpec/NegationMatcherAfterVisit</code></li>
<li>Rename <code>Capybara/VisibilityMatcher</code> to <code>Capybara/RSpec/VisibilityMatcher</code></li>
</ul>
</li>
<li>Split <code>Capybara/MatchStyle</code> into <code>Capybara/AssertStyle</code> and <code>Capybara/RSpec/MatchStyle</code>. ([<a href="https://github.com/ydah"><code>@​ydah</code></a>])</li>
<li>Fix a false positive for <code>Capybara/FindAllFirst</code> when using logical operators with <code>all('...')[0]</code>. ([<a href="https://github.com/ydah"><code>@​ydah</code></a>])</li>
<li>Fix an incorrect autocorrect for <code>Capybara/FindAllFirst</code> when <code>find</code> or <code>all</code> with <code>match: :first</code> uses a receiver and mark autocorrection as unsafe. ([<a href="https://github.com/ydah"><code>@​ydah</code></a>])</li>
<li>Fix an error for <code>Capybara/RSpec/HaveSelector</code> when passing only a selector type. ([<a href="https://github.com/ydah"><code>@​ydah</code></a>])</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/rubocop/rubocop-capybara/commit/2aa369658989df103c598c7e5267d40d59c4a156"><code>2aa3696</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop-capybara/issues/170">#170</a> from rubocop/v2.23.0</li>
<li><a href="https://github.com/rubocop/rubocop-capybara/commit/d6ffe96aad28cafeea0e171ba0feb74d93707d12"><code>d6ffe96</code></a> v2.23.0</li>
<li><a href="https://github.com/rubocop/rubocop-capybara/commit/da0500dbda516ba0f39e9a3e163c6c8f68af45cf"><code>da0500d</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop-capybara/issues/168">#168</a> from rubocop/fix/167-find-all-first-receiver</li>
<li><a href="https://github.com/rubocop/rubocop-capybara/commit/d16b170bca9b543590a652ecb0b9f3c94042475c"><code>d16b170</code></a> Fix an incorrect autocorrect for <code>Capybara/FindAllFirst</code> when <code>find</code> or <code>all</code>...</li>
<li><a href="https://github.com/rubocop/rubocop-capybara/commit/965c79051fc804aff2ae93454db55f708f0d6f04"><code>965c790</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop-capybara/issues/166">#166</a> from rubocop/ci-test-rspec-4-on-its-main-branch</li>
<li><a href="https://github.com/rubocop/rubocop-capybara/commit/3a3e959aa13614c4289f4c99cacb25c55145f00d"><code>3a3e959</code></a> CI: Test RSpec 4 prerelease on rspec main branch</li>
<li><a href="https://github.com/rubocop/rubocop-capybara/commit/ae01cbe6a23a5b1dd37a377a6ad3651bc0dcd57f"><code>ae01cbe</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop-capybara/issues/164">#164</a> from rubocop/haveselector</li>
<li><a href="https://github.com/rubocop/rubocop-capybara/commit/44490b721b9ec0a25d6d4ec148393792c83f7d1f"><code>44490b7</code></a> Fix an error for <code>Capybara/RSpec/HaveSelector</code> when passing only a selector type</li>
<li><a href="https://github.com/rubocop/rubocop-capybara/commit/e5adb535d79f3eb77cd58faced88dfa4eb801348"><code>e5adb53</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop-capybara/issues/155">#155</a> from rubocop/move-rspec-dept</li>
<li><a href="https://github.com/rubocop/rubocop-capybara/commit/f172ed9ff04d09d6594b04a29caa9fb4fea73d4b"><code>f172ed9</code></a> Split <code>Capybara/MatchStyle</code> into <code>Capybara/AssertStyle</code> and `Capybara/RSpec/M...</li>
<li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop-capybara/compare/v2.22.1...v2.23.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rubocop-capybara&package-manager=bundler&previous-version=2.22.1&new-version=2.23.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions


</details>
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/7064

-- Commit Summary --

  * Bump rubocop-capybara from 2.22.1 to 2.23.0 in the rubocop group

-- File Changes --

    M Gemfile.lock (8)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/7064.patchhttps://github.com/openstreetmap/openstreetmap-website/pull/7064.diff
-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/7064
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/7064 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260506/a88ead9d/attachment-0001.htm>


More information about the rails-dev mailing list