Update dependency rubocop-rspec to v2.29.2 - autoclosed #53
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.20.0'
->'2.29.2'
Release Notes
rubocop/rubocop-rspec (rubocop-rspec)
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])v2.23.2
Compare Source
RSpec/ReceiveMessages
when method is only non-word character. ([@marocchino])RSpec/ReceiveMessages
when return with splat. ([@marocchino])v2.23.1
Compare Source
Safe: false
forRSpec/Rails/NegationBeValid
cop. ([@ydah])RSpec/ReceiveMessages
. ([@bquorning])v2.23.0
Compare Source
RSpec/Rails/NegationBeValid
cop. ([@ydah])RSpec/ExcessiveDocstringSpacing
when finds description with em space. ([@ydah])RSpec/EmptyExampleGroup
when example group with examples defined inif
branch inside iterator. ([@ydah])RSpec/ExpectActual
to include the word 'value'. ([@corydiamand])RSpec/Pending
whenit
without body. ([@ydah])RSpec/ReceiveMessages
cop. ([@ydah])**/spec/*
instead ofspec/*
. ([@ydah])AllowedIdentifiers
andAllowedPatterns
configuration option toRSpec/IndexedLet
. ([@ydah])RSpec/NamedSubject
when block has no body. ([@splattael])RSpec/LetBeforeExamples
autocorrect incompatible withRSpec/ScatteredLet
autocorrect. ([@ydah])RSpec/Focus
to supportshared_context
andshared_examples
([@tmaier])v2.22.0
Compare Source
rubocop-factory_bot
. Therubocop-factory_bot
repository is a dependency ofrubocop-rspec
and the factory_bot cops are aliased (RSpec/FactoryBot/Foo
==FactoryBot/Foo
) until v3.0 is released, so the change will be invisible to users until then. ([@ydah])v2.21.0
Compare Source
RSpec/IndexedLet
with suffixes after index-like numbers. ([@pirj])RSpec/Rails/HaveHttpStatus
with comparison with strings containing non-numeric characters. ([@ydah])RSpec/MatchArray
whenmatch_array
with no argument. ([@ydah])a_block_changing
andchanging
forRSpec/ChangeByZero
. ([@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.