Add autocorrect support for RSpec/ScatteredSetup. (@ydah)
Add support be_status style for RSpec/Rails/HttpStatus. (@ydah)
Add support for shared example groups to RSpec/EmptyLineAfterExampleGroup. (@pirj)
Add support for RSpec/HaveHttpStatus when using response.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 :? when omit_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 numblock around. (@ydah)
Change RSpec/ContainExactly to ignore calls with no arguments, and change RSpec/MatchArray to ignore calls with an empty array literal argument. (@ydah, @bquorning)
Make RSpec/MatchArray and RSpec/ContainExactly pending. (@ydah)
RuboCop RSpec v2.19.0
Add new RSpec/PendingBlockInsideExample cop. (@ydah)
Add autocorrect support for RSpec/ScatteredSetup. ([@ydah])
Add support be_status style for RSpec/Rails/HttpStatus. ([@ydah])
Add support for shared example groups to RSpec/EmptyLineAfterExampleGroup. ([@pirj])
Add support for RSpec/HaveHttpStatus when using response.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 :? when omit_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 numblock around. ([@ydah])
Change RSpec/ContainExactly to ignore calls with no arguments, and change RSpec/MatchArray to ignore calls with an empty array literal argument. ([@ydah], [@bquorning])
Make RSpec/MatchArray and RSpec/ContainExactly pending. ([@ydah])
2.19.0 (2023-03-06)
Fix a false positive for RSpec/ContextWording when context is interpolated string literal or execute string. ([@ydah])
Fix a false positive for RSpec/DescribeMethod when multi-line describe without # and . at the beginning. ([@ydah], [@pirj])
Fix a false positive for RSpec/VariableName when inside non-spec code. ([@ydah])
Fix a false positive for RSpec/VariableDefinition when inside non-spec code. ([@ydah])
Add new RSpec/PendingBlockInsideExample cop. ([@ydah])
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps rubocop-rspec from 2.18.1 to 2.20.0.
Release notes
Sourced from rubocop-rspec's releases.
... (truncated)
Changelog
Sourced from rubocop-rspec's changelog.
Commits
454ec6d
Merge pull request #1600 from rubocop/release8369393
Bump version to v2.20.07e2a570
Merge pull request #1621 from ydah/refactor-RedundantAround219868e
Refactor with integration intomatch_redundant_around_hook_block
35e07d5
Merge pull request #1574 from ydah/described-class-module-wrapping6b52c86
Fix a false positive forRSpec/DescribedClassModuleWrapping
when RSpec.desc...0610b73
Merge pull request #1527 from ydah/feature/1148af64ecd
Add supportbe_status
style forRSpec/Rails/HttpStatus
cfa122e
Merge pull request #1610 from ydah/fix/1609cde8a69
Add support forRSpec/HaveHttpStatus
when usingresponse.code
.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)