Bump rubocop-rspec from 2.19.0 to 2.20.0
Bumps rubocop-rspec from 2.19.0 to 2.20.0.
Release notes
Sourced from rubocop-rspec's releases.
RuboCop RSpec v2.20.0
- Add new
RSpec/IndexedLet
cop. (@dmitrytsepelev
)- Add new
RSpec/BeEmpty
cop. (@ydah
,@bquorning
)- Add autocorrect support for
RSpec/ScatteredSetup
. (@ydah
)- Add support
be_status
style forRSpec/Rails/HttpStatus
. (@ydah
)- Add support for shared example groups to
RSpec/EmptyLineAfterExampleGroup
. (@pirj
)- Add support for
RSpec/HaveHttpStatus
when usingresponse.code
. (@ydah
)- Fix order of expected and actual in correction for
RSpec/Rails/MinitestAssertions
(@mvz
)- Fix a false positive for
RSpec/DescribedClassModuleWrapping
when RSpec.describe numblock is nested within a module. (@ydah
)- Fix a false positive for
RSpec/FactoryBot/ConsistentParenthesesStyle
inside&&
,||
and:?
whenomit_parentheses
is on (@dmitrytsepelev
)- Fix a false positive for
RSpec/PendingWithoutReason
when pending/skip has a reason inside an example group. (@ydah
)- Fix a false negative for
RSpec/RedundantAround
when redundant numblockaround
. (@ydah
)- Change
RSpec/ContainExactly
to ignore calls with no arguments, and changeRSpec/MatchArray
to ignore calls with an empty array literal argument. (@ydah
,@bquorning
)- Make
RSpec/MatchArray
andRSpec/ContainExactly
pending. (@ydah
)
Changelog
Sourced from rubocop-rspec's changelog.
2.20.0 (2023-04-18)
- Add new
RSpec/IndexedLet
cop. ([@dmitrytsepelev
])- Add new
RSpec/BeEmpty
cop. ([@ydah
], [@bquorning
])- Add autocorrect support for
RSpec/ScatteredSetup
. ([@ydah
])- Add support
be_status
style forRSpec/Rails/HttpStatus
. ([@ydah
])- Add support for shared example groups to
RSpec/EmptyLineAfterExampleGroup
. ([@pirj
])- Add support for
RSpec/HaveHttpStatus
when usingresponse.code
. ([@ydah
])- Fix order of expected and actual in correction for
RSpec/Rails/MinitestAssertions
([@mvz
])- Fix a false positive for
RSpec/DescribedClassModuleWrapping
when RSpec.describe numblock is nested within a module. ([@ydah
])- Fix a false positive for
RSpec/FactoryBot/ConsistentParenthesesStyle
inside&&
,||
and:?
whenomit_parentheses
is on ([@dmitrytsepelev
])- Fix a false positive for
RSpec/PendingWithoutReason
when pending/skip has a reason inside an example group. ([@ydah
])- Fix a false negative for
RSpec/RedundantAround
when redundant numblockaround
. ([@ydah
])- Change
RSpec/ContainExactly
to ignore calls with no arguments, and changeRSpec/MatchArray
to ignore calls with an empty array literal argument. ([@ydah
], [@bquorning
])- Make
RSpec/MatchArray
andRSpec/ContainExactly
pending. ([@ydah
])
Commits
-
454ec6d
Merge pull request #1600 from rubocop/release -
8369393
Bump version to v2.20.0 -
7e2a570
Merge pull request #1621 from ydah/refactor-RedundantAround -
219868e
Refactor with integration intomatch_redundant_around_hook_block
-
35e07d5
Merge pull request #1574 from ydah/described-class-module-wrapping -
6b52c86
Fix a false positive forRSpec/DescribedClassModuleWrapping
when RSpec.desc... -
0610b73
Merge pull request #1527 from ydah/feature/1148 -
af64ecd
Add supportbe_status
style forRSpec/Rails/HttpStatus
-
cfa122e
Merge pull request #1610 from ydah/fix/1609 -
cde8a69
Add support forRSpec/HaveHttpStatus
when usingresponse.code
. - Additional commits viewable in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
@dependabot-bot rebase
will rebase this MR -
@dependabot-bot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts