Closed ydah closed 1 year ago
This PR is fix a false negative for Capybara/CurrentPathExpectation when using match.
Capybara/CurrentPathExpectation
match
expect(page.current_path).to match("string/" \ "foo/") expect(page.current_path).to match(`pwd`)
Before submitting the PR make sure the following are checked:
main
CHANGELOG.md
bundle exec rake
[memo] need merge https://github.com/rubocop/rubocop-capybara/pull/17
This PR is fix a false negative for
Capybara/CurrentPathExpectation
when usingmatch
.Before submitting the PR make sure the following are checked:
main
(if not - rebase it).CHANGELOG.md
if the new code introduces user-observable changes.bundle exec rake
) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).