rubocop/rubocop-rspec (rubocop-rspec)
### [`v2.27.0`](https://togithub.com/rubocop/rubocop-rspec/blob/HEAD/CHANGELOG.md#2270-2024-03-01)
[Compare Source](https://togithub.com/rubocop/rubocop-rspec/compare/v2.26.1...v2.27.0)
- Add new `RSpec/IsExpectedSpecify` cop. (\[[@ydah](https://togithub.com/ydah)])
- Add new `RSpec/RepeatedSubjectCall` cop. (\[[@drcapulet](https://togithub.com/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](https://togithub.com/ydah)], \[[@G-Rath](https://togithub.com/G-Rath)])
- Support asserts with messages in `Rspec/BeEmpty`. (\[[@G-Rath](https://togithub.com/G-Rath)])
- Fix a false positive for `RSpec/ExpectActual` when used with rspec-rails routing matchers. (\[[@naveg](https://togithub.com/naveg)])
- Add configuration option `ResponseMethods` to `RSpec/Rails/HaveHttpStatus`. (\[[@ydah](https://togithub.com/ydah)])
- Fix a false negative for `RSpec/DescribedClass` when class with constant. (\[[@ydah](https://togithub.com/ydah)])
- Fix a false positive for `RSpec/ExampleWithoutDescription` when `specify` with multi-line block and missing description. (\[[@ydah](https://togithub.com/ydah)])
- Fix an incorrect autocorrect for `RSpec/ChangeByZero` when compound expectations with line break before `.by(0)`. (\[[@ydah](https://togithub.com/ydah)])
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
'2.26.1'
->'2.27.0'
Release Notes
rubocop/rubocop-rspec (rubocop-rspec)
### [`v2.27.0`](https://togithub.com/rubocop/rubocop-rspec/blob/HEAD/CHANGELOG.md#2270-2024-03-01) [Compare Source](https://togithub.com/rubocop/rubocop-rspec/compare/v2.26.1...v2.27.0) - Add new `RSpec/IsExpectedSpecify` cop. (\[[@ydah](https://togithub.com/ydah)]) - Add new `RSpec/RepeatedSubjectCall` cop. (\[[@drcapulet](https://togithub.com/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](https://togithub.com/ydah)], \[[@G-Rath](https://togithub.com/G-Rath)]) - Support asserts with messages in `Rspec/BeEmpty`. (\[[@G-Rath](https://togithub.com/G-Rath)]) - Fix a false positive for `RSpec/ExpectActual` when used with rspec-rails routing matchers. (\[[@naveg](https://togithub.com/naveg)]) - Add configuration option `ResponseMethods` to `RSpec/Rails/HaveHttpStatus`. (\[[@ydah](https://togithub.com/ydah)]) - Fix a false negative for `RSpec/DescribedClass` when class with constant. (\[[@ydah](https://togithub.com/ydah)]) - Fix a false positive for `RSpec/ExampleWithoutDescription` when `specify` with multi-line block and missing description. (\[[@ydah](https://togithub.com/ydah)]) - Fix an incorrect autocorrect for `RSpec/ChangeByZero` when compound expectations with line break before `.by(0)`. (\[[@ydah](https://togithub.com/ydah)])Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.