Update dependency rubocop-rspec to v3 - autoclosed - #71
Closed
renovate[bot] wants to merge 1 commit into
Closed
Conversation
renovate
Bot
force-pushed
the
renovate/rubocop-rspec-3.x
branch
from
April 18, 2025 10:46
896bbdd to
5d533e6
Compare
renovate
Bot
force-pushed
the
renovate/rubocop-rspec-3.x
branch
from
August 10, 2025 12:52
5d533e6 to
eaba0c2
Compare
renovate
Bot
force-pushed
the
renovate/rubocop-rspec-3.x
branch
from
September 1, 2025 23:27
eaba0c2 to
284f713
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.
This PR contains the following updates:
'= 2.19.0'->'= 3.7.0'Release Notes
rubocop/rubocop-rspec (rubocop-rspec)
v3.7.0Compare Source
RSpec/IncludeExamplesasSafeAutoCorrect: false. ([@yujideveloper])RSpec/LeakyConstantDeclarationwhen defining constants in explicit namespaces. ([@naveg])raise_exceptionandraise_error) toRSpec/Dialect. ([@lovro-bikic])RSpec/DescribedClasswithinData.defineblocks. ([@lovro-bikic])RSpec/IteratedExpectationfor single expectations. ([@lovro-bikic])RSpec/ExcessiveDocstringSpacingwhen receivers are not RSpec methods. ([@ydah])v3.6.0Compare Source
RSpec/Pending, where it would mark the default blockitas an offense. ([@bquorning])Style/ContextWordingis configured with a Prefix being interpreted as a boolean, likeon. ([@sakuro])RSpec/IncludeExamplescop to enforce usingit_behaves_likeoverinclude_examples. ([@dvandersluis])RSpec/ScatteredSetupto allowaroundhooks to be scattered. ([@ydah])RSpec/ChangeByZerocop when without expect block. ([@lee266])RSpec/DescribedClasswhenSkipBlocksis true and numblocks are used. ([@earlopain])v3.5.0Compare Source
RSpec/PredicateMatcherreplacerespond_to?with two arguments with the RSpecrespond_tomatcher. ([@bquorning])RSpec/PredicateMatchersupport foreqlandequalmatchers. ([@bquorning])v3.4.0Compare Source
RSpec/SortMetadatacop to limit sorting to trailing metadata arguments. ([@cbliard])RSpec/StringAsInstanceDoubleConstantwithRSpec/VerifiedDoubleReferenceconfigured to only support constant class references. ([@corsonknowles])RSpec/EmptyExampleGroupcop false positive when a simple conditional is used inside an iterator. ([@lovro-bikic])v3.3.0Compare Source
top_level_group?method fromTopLevelGroupmixin as all of its callers were intentionally removed fromRubocop/RSpec. ([@corsonknowles])v3.2.0Compare Source
RSpec/VoidExpectto only operate inside an example block. ([@corsonknowles])RSpec/ContextWordingcop to always report an offense when bothPrefixesandAllowedPatternsare empty. ([@ydah])andandorcompound matchers toRSpec/ChangeByZerocop. ([@ydah])v3.1.0Compare Source
RSpec/StringAsInstanceDoubleConstantto check for and correct strings used as instance_doubles. ([@corsonknowles])RSpec/UnspecifiedExceptionwhen a method is literally namedraise_exception. ([@aarestad])RSpec/UnspecifiedExceptionwhennot_to raise_erroris used within a block. ([@aarestad], [@G-Rath])v3.0.5Compare Source
RSpec/MetadataStylewhen non-literal args are used in metadata inEnforceStyle: hash. ([@cbliard])RSpec/IndexedLet. ([@earlopain])v3.0.4Compare Source
UnspecifiedExceptionwhen matcher is chained. ([@r7kamura])v3.0.3Compare Source
RSpec/ExampleWording. ([@jdufresne])RSpec/MultipleExpectations,RSpec/MultipleMemoizedHelpers, andRSpec/NestedGroupscops. ([@koic])v3.0.2Compare Source
RSpec/ScatteredSetupwhen hook contains heredoc. ([@earlopain])RSpec/PredicateMatcherwhen expectation contains custom failure message. ([@earlopain])v3.0.1Compare Source
v3.0.0Compare Source
Capybara,FactoryBotandRailsdepartments. ([@ydah])RuboCop::RSpec::Language::NodePattern. ([@ydah])RSpec/FilePathcop. ([@ydah])RSpec/Capybara/FeatureMethodscop. If you are using this cop, change it to useRSpec/Dialect. ([@ydah])RSpec/MissingExpectationTargetMethodcop. ([@krororo])RSpec/ScatteredSetupwhen one of the hooks is an empty block. ([@earlopain])These previously pending cops are now enabled by default:
RSpec/BeEmpty,RSpec/BeEq,RSpec/BeNil,RSpec/ChangeByZero,RSpec/ClassCheck,RSpec/ContainExactly,RSpec/DuplicatedMetadata,RSpec/EmptyMetadata,RSpec/EmptyOutput,RSpec/Eq,RSpec/ExcessiveDocstringSpacing,RSpec/ExpectInLet,RSpec/IdenticalEqualityAssertion,RSpec/IndexedLet,RSpec/IsExpectedSpecify,RSpec/MatchArray,RSpec/MetadataStyle,RSpec/NoExpectationExample,RSpec/PendingWithoutReason,RSpec/ReceiveMessages,RSpec/RedundantAround,RSpec/RedundantPredicateMatcher,RSpec/RemoveConst,RSpec/RepeatedSubjectCall,RSpec/SkipBlockInsideExample,RSpec/SortMetadata,RSpec/SpecFilePathFormat,RSpec/SpecFilePathSuffix,RSpec/SubjectDeclaration,RSpec/UndescriptiveLiteralsDescription, andRSpec/VerifiedDoubleReference.Read more about how to upgrade in https://docs.rubocop.org/rubocop-rspec/upgrade_to_version_3.html
v2.31.0Compare Source
AutoCorrect: contextualoption for LSP. ([@ydah])v2.30.0Compare Source
RSpec/ExpectInLetcop. ([@yasu551])v2.29.2Compare Source
RSpec/RepeatedSubjectCallwhen subject is used as argument to function call. ([@K-S-A])v2.29.1Compare Source
v2.29.0Compare Source
RSpec/ExpectActual. ([@bquorning])RSpec/UndescriptiveLiteralsDescriptioncop. ([@ydah])RSpec/EmptyOutputcop. ([@bquorning])v2.28.0Compare Source
rubocop-rspec_rails. Therubocop-rspec_railsrepository is a dependency ofrubocop-rspecand 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.1Compare Source
RSpec/RepeatedSubjectCallwhensubject.method_call. ([@ydah])OnlyStaticConstantstoRSpec/DescribedClass. ([@ydah])v2.27.0Compare Source
RSpec/IsExpectedSpecifycop. ([@ydah])RSpec/RepeatedSubjectCallcop. ([@drcapulet])assert_true,assert_false,assert_not_equal,assert_not_nil,*_empty,*_predicate,*_kind_of,*_in_delta,*_match,*_instance_ofand*_includesassertions inRSpec/Rails/MinitestAssertions. ([@ydah], [@G-Rath])RSpec/BeEmpty. ([@G-Rath])RSpec/ExpectActualwhen used with rspec-rails routing matchers. ([@naveg])ResponseMethodstoRSpec/Rails/HaveHttpStatus. ([@ydah])RSpec/DescribedClasswhen class with constant. ([@ydah])RSpec/ExampleWithoutDescriptionwhenspecifywith multi-line block and missing description. ([@ydah])RSpec/ChangeByZerowhen compound expectations with line break before.by(0). ([@ydah])v2.26.1Compare Source
RSpec/SharedExampleswhen using examples without argument. ([@ydah])v2.26.0Compare Source
RSpec/RedundantPredicateMatchercop. ([@ydah])RSpec/RemoveConstcop. ([@swelther])RSpec/ExampleWording. ([@jdufresne])symbolstyle forRSpec/SharedExamples. ([@jessieay])PendingWithoutReasoncan detect violations inside shared groups. ([@robinaugh])v2.25.0Compare Source
RSpec/Rails/HttpStatus. ([@ydah])RSpec/SpecFilePathFormatlikeRSpec/FilePath. ([@ydah])RSpec/MetadataStylewith example groups having multiple string arguments. ([@franzliedke])v2.24.1Compare Source
RSpec/FilePathand revert to enabled by default. If you have already moved toRSpec/SpecFilePathSuffixandRSpec/SpecFilePathFormat, disableRSpec/FilePathexplicitly asEnabled: false. TheRSpec/FilePathbefore migration and theRSpec/SpecFilePathSuffixandRSpec/SpecFilePathFormatas the target are available respectively. ([@ydah])v2.24.0Compare Source
RSpec/FilePathintoRSpec/SpecFilePathSuffixandRSpec/SpecFilePathFormat.RSpec/FilePathcop is disabled by default and the two new cops are pending and need to be enabled explicitly. ([@ydah])RSpec/Eqcop. ([@ydah])RSpec/MetadataStyleandRSpec/EmptyMetadatacops. ([@r7kamura])RSpec/Rails/HttpStatuswhenhave_http_statuswith string argument. ([@ydah])RSpec/ExcessiveDocstringSpacingfinds a description with non-ASCII leading/trailing whitespace. ([@bcgraham])RSpec/ReceiveMessageswhen return values declared between stubs. ([@marocchino])RSpec/Focuswhen chained method call and inside define method. ([@ydah])v2.23.2Compare Source
RSpec/ReceiveMessageswhen method is only non-word character. ([@marocchino])RSpec/ReceiveMessageswhen return with splat. ([@marocchino])v2.23.1Compare Source
Safe: falseforRSpec/Rails/NegationBeValidcop. ([@ydah])RSpec/ReceiveMessages. ([@bquorning])v2.23.0Compare Source
RSpec/Rails/NegationBeValidcop. ([@ydah])RSpec/ExcessiveDocstringSpacingwhen finds description with em space. ([@ydah])RSpec/EmptyExampleGroupwhen example group with examples defined inifbranch inside iterator. ([@ydah])RSpec/ExpectActualto include the word 'value'. ([@corydiamand])RSpec/Pendingwhenitwithout body. ([@ydah])RSpec/ReceiveMessagescop. ([@ydah])**/spec/*instead ofspec/*. ([@ydah])AllowedIdentifiersandAllowedPatternsconfiguration option toRSpec/IndexedLet. ([@ydah])RSpec/NamedSubjectwhen block has no body. ([@splattael])RSpec/LetBeforeExamplesautocorrect incompatible withRSpec/ScatteredLetautocorrect. ([@ydah])RSpec/Focusto supportshared_contextandshared_examples. ([@tmaier])v2.22.0Compare Source
rubocop-factory_bot. Therubocop-factory_botrepository is a dependency ofrubocop-rspecand 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.0Compare Source
RSpec/IndexedLetwith suffixes after index-like numbers. ([@pirj])RSpec/Rails/HaveHttpStatuswith comparison with strings containing non-numeric characters. ([@ydah])RSpec/MatchArraywhenmatch_arraywith no argument. ([@ydah])a_block_changingandchangingforRSpec/ChangeByZero. ([@ydah])v2.20.0Compare Source
RSpec/IndexedLetcop. ([@dmitrytsepelev])RSpec/BeEmptycop. ([@ydah], [@bquorning])RSpec/ScatteredSetup. ([@ydah])be_statusstyle forRSpec/Rails/HttpStatus. ([@ydah])RSpec/EmptyLineAfterExampleGroup. ([@pirj])RSpec/HaveHttpStatuswhen usingresponse.code. ([@ydah])RSpec/Rails/MinitestAssertions. ([@mvz])RSpec/DescribedClassModuleWrappingwhen RSpec.describe numblock is nested within a module. ([@ydah])RSpec/FactoryBot/ConsistentParenthesesStyleinside&&,||and:?whenomit_parenthesesis on. ([@dmitrytsepelev])RSpec/PendingWithoutReasonwhen pending/skip has a reason inside an example group. ([@ydah])RSpec/RedundantAroundwhen redundant numblockaround. ([@ydah])RSpec/ContainExactlyto ignore calls with no arguments, and changeRSpec/MatchArrayto ignore calls with an empty array literal argument. ([@ydah], [@bquorning])RSpec/MatchArrayandRSpec/ContainExactlypending. ([@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 was generated by Mend Renovate. View the repository job log.