Releases: rubocop/rubocop-capybara
Releases · rubocop/rubocop-capybara
RuboCop Capybara v2.21.0
RuboCop Capybara v2.20.0
What's Changed
- Add new
Capybara/RedundantWithinFind
cop. (@ydah) - Change to default
EnforcedStyle: link_or_button
forCapybara/ClickLinkOrButtonStyle
cop. (@ydah) - Change to default
EnforcedStyle: have_no
forCapybara/NegationMatcher
cop. (@ydah) - Fix a false negative for
RSpec/HaveSelector
when first argument is dstr node. (@ydah) - Fix an invalid attributes parse when name with multiple
[]
forCapybara/SpecificFinders
andCapybara/SpecificActions
andCapybara/SpecificMatcher
. (@ydah) - Fix a false positive for
Capybara/SpecificMatcher
whentext:
orexact_text:
with regexp. (@ydah)
Full Changelog: v2.19.0...v2.20.0
RuboCop Capybara v2.19.0
What's Changed
- Add new
Capybara/RSpec/PredicateMatcher
cop. (@ydah) - Add new
Capybara/RSpec/HaveSelector
cop. (@ydah) - Add new
Capybara/ClickLinkOrButtonStyle
cop. (@ydah) - Fix a false positive for
Capybara/SpecificFinders
whenfind
with kind option. (@ydah) - Fix an incorrect autocorrect for
Capybara/CurrentPathExpectation
. (@ydah) - Drop Ruby 2.6 support. (@ydah)
Full Changelog: v2.18.0...v2.19.0
RuboCop Capybara v2.18.0
- Fix an offense message for
Capybara/SpecificFinders
. (@ydah) - Expand
Capybara/NegationMatcher
to supporthave_content
(@OskarsEzerins) - Fix an incorrect autocorrect for
Capybara/CurrentPathExpectation
when matcher's argument is a method with a argument and no parentheses. (@ydah)