Update dependency rubocop-rspec to v2.31.0 #337
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.23.2
->2.31.0
Release Notes
rubocop/rubocop-rspec (rubocop-rspec)
v2.31.0
Compare Source
AutoCorrect: contextual
option for LSP. ([@ydah])v2.30.0
Compare Source
RSpec/ExpectInLet
cop. ([@yasu551])v2.29.2
Compare Source
RSpec/RepeatedSubjectCall
when subject is used as argument to function call. ([@K-S-A])v2.29.1
Compare Source
v2.29.0
Compare Source
RSpec/ExpectActual
. ([@bquorning])RSpec/UndescriptiveLiteralsDescription
cop. ([@ydah])RSpec/EmptyOutput
cop. ([@bquorning])v2.28.0
Compare Source
rubocop-rspec_rails
. Therubocop-rspec_rails
repository is a dependency ofrubocop-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])v2.27.1
Compare Source
RSpec/RepeatedSubjectCall
whensubject.method_call
. ([@ydah])OnlyStaticConstants
toRSpec/DescribedClass
. ([@ydah])v2.27.0
Compare Source
RSpec/IsExpectedSpecify
cop. ([@ydah])RSpec/RepeatedSubjectCall
cop. ([@drcapulet])assert_true
,assert_false
,assert_not_equal
,assert_not_nil
,*_empty
,*_predicate
,*_kind_of
,*_in_delta
,*_match
,*_instance_of
and*_includes
assertions inRSpec/Rails/MinitestAssertions
. ([@ydah], [@G-Rath])Rspec/BeEmpty
. ([@G-Rath])RSpec/ExpectActual
when used with rspec-rails routing matchers. ([@naveg])ResponseMethods
toRSpec/Rails/HaveHttpStatus
. ([@ydah])RSpec/DescribedClass
when class with constant. ([@ydah])RSpec/ExampleWithoutDescription
whenspecify
with multi-line block and missing description. ([@ydah])RSpec/ChangeByZero
when compound expectations with line break before.by(0)
. ([@ydah])v2.26.1
Compare Source
RSpec/SharedExamples
when using examples without argument. ([@ydah])v2.26.0
Compare Source
RSpec/RedundantPredicateMatcher
cop. ([@ydah])RSpec/RemoveConst
cop. ([@swelther])RSpec/ExampleWording
. ([@jdufresne])symbol
style forRSpec/SharedExamples
. ([@jessieay])PendingWithoutReason
can detect violations inside shared groups. ([@robinaugh])v2.25.0
Compare Source
RSpec/Rails/HttpStatus
. ([@ydah])RSpec/SpecFilePathFormat
likeRSpec/FilePath
. ([@ydah])RSpec/MetadataStyle
with example groups having multiple string arguments. ([@franzliedke])v2.24.1
Compare Source
RSpec/FilePath
and revert to enabled by default. If you have already moved toRSpec/SpecFilePathSuffix
andRSpec/SpecFilePathFormat
, disableRSpec/FilePath
explicitly asEnabled: false
. TheRSpec/FilePath
before migration and theRSpec/SpecFilePathSuffix
andRSpec/SpecFilePathFormat
as the target are available respectively. ([@ydah])v2.24.0
Compare Source
RSpec/FilePath
intoRSpec/SpecFilePathSuffix
andRSpec/SpecFilePathFormat
.RSpec/FilePath
cop is disabled by default and the two new cops are pending and need to be enabled explicitly. ([@ydah])RSpec/Eq
cop. ([@ydah])RSpec/MetadataStyle
andRSpec/EmptyMetadata
cops. ([@r7kamura])RSpec/Rails/HttpStatus
whenhave_http_status
with string argument. ([@ydah])RSpec/ExcessiveDocstringSpacing
finds a description with non-ASCII leading/trailing whitespace. ([@bcgraham])RSpec/ReceiveMessages
when return values declared between stubs. ([@marocchino])RSpec/Focus
when chained method call and inside define method. ([@ydah])Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.