Closed ydah closed 1 month ago
I just came to open an issue about that. :smile:
By the way, another case that could be replaced with first
is find(..., match: :first)
. @ydah do you want me to open a new issue about that or you'll handle it here?
@boris-petrov Supported by https://github.com/rubocop/rubocop-capybara/pull/118 . If this is not a problem, I will merge it.
Seems great! Thanks for the quick implementation as usual! :)
https://www.rubydoc.info/gems/capybara/Capybara%2FNode%2FFinders:first