File tree Expand file tree Collapse file tree 5 files changed +10
-8
lines changed Expand file tree Collapse file tree 5 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 22
33## Edge (Unreleased)
44
5+ ## 2.20.0 (2024-01-03)
6+
57- Change to default ` EnforcedStyle: link_or_button ` for ` Capybara/ClickLinkOrButtonStyle ` cop. ([ @ydah ] )
68- Fix a false negative for ` RSpec/HaveSelector ` when first argument is dstr node. ([ @ydah ] )
79- Add new ` Capybara/RedundantWithinFind ` cop. ([ @ydah ] )
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Capybara/ClickLinkOrButtonStyle:
1313 Description : Checks for methods of button or link clicks.
1414 Enabled : pending
1515 VersionAdded : ' 2.19'
16- VersionChanged : " <<next>> "
16+ VersionChanged : ' 2.20 '
1717 EnforcedStyle : link_or_button
1818 SupportedStyles :
1919 - link_or_button
@@ -37,7 +37,7 @@ Capybara/NegationMatcher:
3737 Description : Enforces use of `have_no_*` or `not_to` for negated expectations.
3838 Enabled : pending
3939 VersionAdded : ' 2.14'
40- VersionChanged : " <<next>> "
40+ VersionChanged : ' 2.20 '
4141 EnforcedStyle : have_no
4242 SupportedStyles :
4343 - have_no
@@ -47,7 +47,7 @@ Capybara/NegationMatcher:
4747Capybara/RedundantWithinFind :
4848 Description : Checks for redundant `within find(...)` calls.
4949 Enabled : pending
50- VersionAdded : " <<next>> "
50+ VersionAdded : ' 2.20 '
5151 Reference : https://www.rubydoc.info/gems/rubocop-capybara/RuboCop/Cop/Capybara/RedundantWithinFind
5252
5353Capybara/SpecificActions :
Original file line number Diff line number Diff line change 11name : rubocop-capybara
22title : RuboCop Capybara
3- version : ~
3+ version : ' 2.20 '
44nav :
55 - modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change 99| Yes
1010| No
1111| 2.19
12- | <<next>>
12+ | 2.20
1313|===
1414
1515Checks for methods of button or link clicks.
@@ -170,7 +170,7 @@ expect(page).to match_style(display: 'block')
170170| Yes
171171| Yes
172172| 2.14
173- | <<next>>
173+ | 2.20
174174|===
175175
176176Enforces use of `have_no_*` or `not_to` for negated expectations.
@@ -225,7 +225,7 @@ expect(page).not_to have_css('a')
225225| Pending
226226| Yes
227227| Yes
228- | <<next>>
228+ | 2.20
229229| -
230230|===
231231
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ module RuboCop
44 module Capybara
55 # Version information for the Capybara RuboCop plugin.
66 module Version
7- STRING = '2.19 .0'
7+ STRING = '2.20 .0'
88 end
99 end
1010end
You can’t perform that action at this time.
0 commit comments