Add CountAsOne configuration option to RSpec/ExampleLength. ([@stephannv][])
Fix a false positive for RSpec/RepeatedExampleGroupBody when pending or skip have argument(s). ([@Tietew][])
2.2.0 (2021-02-02)
Fix HooksBeforeExamples, LeadingSubject, LetBeforeExamples and ScatteredLet autocorrection to take into account inline comments and comments immediately before the moved node. ([@Darhazer][])
Include Enabled: true to prevent a mismatched configuration parameter warning when RSpec cops are explicitly enabled in the user configuration. ([@pirj][])
2.1.0 (2020-12-17)
Fix RSpec/FilePath false positive for relative file path runs with long namespaces. ([@ahukkanen][])
Update RSpec/Focus to have auto-correction. ([@dvandersluis][])
2.0.1 (2020-12-02)
Fixed infinite loop in RSpec/ExpectActual autocorrection when both expected and actual values are literals. ([@Darhazer][])
2.0.0 (2020-11-06)
Remove deprecated class ::RuboCop::Cop::RSpec::Cop. ([@bquorning][])
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)
Updates the requirements on rubocop-rspec to permit the latest version.
Release notes
Sourced from rubocop-rspec's releases.
Changelog
Sourced from rubocop-rspec's changelog.
... (truncated)
Commits
1b360e5
Merge pull request #1159 from rubocop/releaseb82febd
Bump version to 2.4.02d00dbb
Merge pull request #1158 from topalovic/file-path-check-suffix-for-non-constc4646ff
Make FilePath check suffix when given a non-const top-level node0be6148
Merge pull request #1152 from tejasbubane/fix-11430cbc140
Add more specs for RSpec/ExpectChangec3dd64a
Fix false negative inRSpec/ExpectChange
cop with block style and chained m...9e55194
Merge pull request #1133 from paydaylight/add-prefer-before-over-setup-cope94b463
Add RSpec/Rails/AvoidSetupHook cope0e109c
Merge pull request #1132 from tejasbubane/fix-1130Dependabot 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)