Extract RSpec Rails cops to a separate repository, rubocop-rspec_rails. The rubocop-rspec_rails repository is a dependency of rubocop-rspec and the cops related to rspec-rails are aliased (RSpec/Rails/Foo == RSpecRails/Foo) until v3.0 is released, so the change will be invisible to users until then. (@ydah)
RuboCop RSpec v2.27.1
Fix a false positive for RSpec/RepeatedSubjectCall when subject.method_call. (@ydah)
Add configuration option OnlyStaticConstants to RSpec/DescribedClass. (@ydah)
Add new RSpec/RepeatedSubjectCall cop. (@drcapulet)
Add support for assert_true, assert_false, assert_not_equal, assert_not_nil, *_empty, *_predicate, *_kind_of, *_in_delta, *_match, *_instance_of and *_includes assertions in RSpec/Rails/MinitestAssertions. (@ydah, @G-Rath)
Support asserts with messages in Rspec/BeEmpty. (@G-Rath)
Fix a false positive for RSpec/ExpectActual when used with rspec-rails routing matchers. (@naveg)
Add configuration option ResponseMethods to RSpec/Rails/HaveHttpStatus. (@ydah)
Fix a false negative for RSpec/DescribedClass when class with constant. (@ydah)
Fix a false positive for RSpec/ExampleWithoutDescription when specify with multi-line block and missing description. (@ydah)
Fix an incorrect autocorrect for RSpec/ChangeByZero when compound expectations with line break before .by(0). (@ydah)
Extract RSpec Rails cops to a separate repository, rubocop-rspec_rails. The rubocop-rspec_rails repository is a dependency of rubocop-rspec and the cops related to rspec-rails are aliased (RSpec/Rails/Foo == RSpecRails/Foo) until v3.0 is released, so the change will be invisible to users until then. ([@ydah])
2.27.1 (2024-03-03)
Fix a false positive for RSpec/RepeatedSubjectCall when subject.method_call. ([@ydah])
Add configuration option OnlyStaticConstants to RSpec/DescribedClass. ([@ydah])
Add new RSpec/RepeatedSubjectCall cop. ([@drcapulet])
Add support for assert_true, assert_false, assert_not_equal, assert_not_nil, *_empty, *_predicate, *_kind_of, *_in_delta, *_match, *_instance_of and *_includes assertions in RSpec/Rails/MinitestAssertions. ([@ydah], [@G-Rath])
Support asserts with messages in Rspec/BeEmpty. ([@G-Rath])
Fix a false positive for RSpec/ExpectActual when used with rspec-rails routing matchers. ([@naveg])
Add configuration option ResponseMethods to RSpec/Rails/HaveHttpStatus. ([@ydah])
Fix a false negative for RSpec/DescribedClass when class with constant. ([@ydah])
Fix a false positive for RSpec/ExampleWithoutDescription when specify with multi-line block and missing description. ([@ydah])
Fix an incorrect autocorrect for RSpec/ChangeByZero when compound expectations with line break before .by(0). ([@ydah])
Commits
d022102 Merge pull request #1863 from rubocop/release
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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.26.1 to 2.29.1.
Release notes
Sourced from rubocop-rspec's releases.
Changelog
Sourced from rubocop-rspec's changelog.
Commits
d022102
Merge pull request #1863 from rubocop/release8121544
Bump to v2.29.1210f5b1
Merge pull request #1862 from rubocop/improve-release-notes-workflow7a9627c
Switch docs version back9bdc63b
Merge pull request #1861 from rubocop/follow19e8f1b
When creating a release, automatically add a titleee0c1ed
Add VersionAdd forRSpec/EmptyOutput
acb5ac5
Merge pull request #1860 from rubocop/releasef56919d
Bump to v2.29.05113a9b
Merge pull request #1854 from rubocop/empty-outputDependabot 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 show