Upgrade rubocop-rspec to 2.18.1
What does this MR do and why?
Capybara cops have been extracted into rubocop-capybara and moved from
RSpec/Capybara/* into Capybara/*.
See https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md#2180-2023-01-16.
To avoid warnings like:
rubocop-rspec.yml: RSpec/Capybara/SpecificFinders has the wrong namespace - should be Capybara
this MR is also adding a new config rubocop-capybara.yml to and moves the definitions over there in Capybara/* department.
Edited by Peter Leitzen