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:
v3
->v4
1.1.5
->2.0.3
8.0
->9.0
5.1.2
->7.0.1
2.13.1
->3.1.0
1.1.1
->2.0.10
Release Notes
actions/checkout (actions/checkout)
v4
Compare Source
rails/importmap-rails (importmap-rails)
v2.0.3
Compare Source
What's Changed
Full Changelog: rails/importmap-rails@v2.0.2...v2.0.3
v2.0.2
Compare Source
What's Changed
jspm.io
instead ofjspm
by @josefarias in https://github.com/rails/importmap-rails/pull/234New Contributors
Full Changelog: rails/importmap-rails@v2.0.1...v2.0.2
v2.0.1
Compare Source
What's Changed
Full Changelog: rails/importmap-rails@v2.0.0...v2.0.1
v2.0.0
Compare Source
What's Changed
This major release includes two potentially backwards-incompatible changes:
preload: false
as part of the pin.All changes:
Full Changelog: rails/importmap-rails@v1.2.3...v2.0.0
v1.2.3
Compare Source
What's Changed
New Contributors
Full Changelog: rails/importmap-rails@v1.2.2...v1.2.3
v1.2.2
Compare Source
What's Changed
importmap.rb
by @vietqhoang in https://github.com/rails/importmap-rails/pull/198New Contributors
Full Changelog: rails/importmap-rails@v1.2.1...v1.2.2
v1.2.1
Compare Source
What's Changed
config.enable_reloading
by @ghiculescu in https://github.com/rails/importmap-rails/pull/172New Contributors
Full Changelog: rails/importmap-rails@v1.1.6...v1.2.1
v1.2.0
Compare Source
v1.1.6
Compare Source
What's Changed
Full Changelog: rails/importmap-rails@v1.1.5...v1.1.6
rspec/rspec-rails (rspec-rails)
v7.0.1
Compare Source
Full Changelog
Bug Fixes:
(Jon Rowe, #2791)
v7.0.0
Compare Source
Full Changelog
Enhancements:
(Steve Polito, #2746)
at_priority
qualifier tohave_enqueued_job
set of matchers. (mbajur, #2759)rails stats
on Rails main / 8.0.0. (Petrik de Heus, #2781)v6.1.5
Compare Source
Full Changelog
Bug Fixes:
rake spec:statsetup
on Rails main / 8.0.0. (Petrik de Heus, #2781)v6.1.4
Compare Source
v6.1.3
Compare Source
Full Changelog
Bug Fixes:
ActiveSupport::CurrentAttributes
between examples. (Javier Julio, #2752)have_status_code
behaviour with deprecated status names by delegatingto
Rack::Utils.status_code/1
to set the expected status code. (Darren Boyd, #2765)v6.1.2
Compare Source
Full Changelog
Bug Fixes:
v6.1.1
Compare Source
Full Changelog
Bug Fixes:
RSpec::Rails::Configuration.fixture_paths
(Benoit Tigeot, #2720)
v6.1.0
Compare Source
Full Changelog
Enhancements:
rails_helper.rb
to useRails.root.join
.(@masato-bkn, Ryo Nakamura, #2640, #2678)
RSpec::Rails::Configuration.fixture_paths
configuration to supportthe matching change to
ActiveRecord::TestFixtures
, previous singularform is deprecated and will be removed in Rails 7.2. (Juan Gueçaimburu, #2673)
send_email
matcher to match emails rather than specific jobs.(Andrei Kaleshka, #2670)
render
in view specs,:locals
will now be merged into thedefault implicit template, allowing
render locals: {...}
style calls.(Jon Rowe, #2686)
Rails.config.action_mailer.preview_paths
on Rails 7.1/(Jon Rowe, #2706)
v6.0.4
Compare Source
Full Changelog
Bug Fixes:
have_broadcasted_to
so that argument matchers can be used.(Timothy Peraza, #2684)
:context
hooks on Railsmain
. (Jon Rowe, #2685)stub_template
on Railsmain
. (Jon Rowe, #2685)take_failed_screenshot
producing an additional error throughmetadata
access. (Jon Rowe, #2704)
ActiveSupport::ExecutionContext::TestHelper
on Rails 7+. (Jon Rowe, #2711)stub_template
on Rails 7.1. (Jon Rowe, #2714)v6.0.3
Compare Source
Full Changelog
Bug Fixes:
ActiveStorage::FixtureSet.file_fixture_path
when including file fixture support.(Jason Yates, #2671)
broadcast_to
matcher to take Symbols. (@Vagab, #2680)v6.0.2
Compare Source
Full Changelog
Bug Fixes:
render_views
is off for Rails 7.1.(Eugene Kenny, Iliana, #2631)
#fixtures_paths
in example groups (removes a deprecation warning).(Nicholas Simmons, #2664)
have_enqueued_job
to properly detect enqueued jobs when other jobs wereperformed inside the expectation block. (Slava Kardakov, Phil Pirozhkov, #2573)
v6.0.1
Compare Source
Full Changelog
Bug Fixes:
#name
. (Jon Rowe, #2625)v6.0.0
Compare Source
Full Changelog
Enhancements:
Breaking Changes:
after_teardown
fromafter
toaround
in systemspecs to improve compatibility with extensions and Capybara. (Tim Diggins, #2596)
Deprecations:
rspec:integration
)which was an alias of request spec generator (
rspec:request
)(Luka Lüdicke, #2374)
rubocop/rubocop-rspec (rubocop-rspec)
v3.1.0
Compare Source
RSpec/StringAsInstanceDoubleConstant
to check for and correct strings used as instance_doubles. ([@corsonknowles])RSpec/UnspecifiedException
when a method is literally namedraise_exception
. ([@aarestad])RSpec/UnspecifiedException
whennot_to raise_error
is used within a block. ([@aarestad], [@G-Rath])v3.0.5
Compare Source
RSpec/MetadataStyle
when non-literal args are used in metadata inEnforceStyle: hash
. ([@cbliard])RSpec/IndexedLet
. ([@earlopain])v3.0.4
Compare Source
UnspecifiedException
when matcher is chained. ([@r7kamura])v3.0.3
Compare Source
RSpec/ExampleWording
. ([@jdufresne])RSpec/MultipleExpectations
,RSpec/MultipleMemoizedHelpers
, andRSpec/NestedGroups
cops. ([@koic])v3.0.2
Compare Source
RSpec/ScatteredSetup
when hook contains heredoc. ([@earlopain])RSpec/PredicateMatcher
when expectation contains custom failure message. ([@earlopain])v3.0.1
Compare Source
v3.0.0
Compare Source
Capybara
,FactoryBot
andRails
departments. ([@ydah])RuboCop::RSpec::Language::NodePattern
. ([@ydah])RSpec/FilePath
cop. ([@ydah])RSpec/Capybara/FeatureMethods
cop. If you are using this cop, change it to useRSpec/Dialect
. ([@ydah])RSpec/MissingExpectationTargetMethod
cop. ([@krororo])RSpec/ScatteredSetup
when 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.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])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])v2.20.0
Compare Source
RSpec/IndexedLet
cop. ([@dmitrytsepelev])RSpec/BeEmpty
cop. ([@ydah], [@bquorning])RSpec/ScatteredSetup
. ([@ydah])be_status
style forRSpec/Rails/HttpStatus
. ([@ydah])RSpec/EmptyLineAfterExampleGroup
. ([@pirj])RSpec/HaveHttpStatus
when usingresponse.code
. ([@ydah])RSpec/Rails/MinitestAssertions
([@mvz])RSpec/DescribedClassModuleWrapping
when RSpec.describe numblock is nested within a module. ([@ydah])RSpec/FactoryBot/ConsistentParenthesesStyle
inside&&
,||
and:?
whenomit_parentheses
is on ([@dmitrytsepelev])RSpec/PendingWithoutReason
when pending/skip has a reason inside an example group. ([@ydah])RSpec/RedundantAround
when redundant numblockaround
. ([@ydah])RSpec/ContainExactly
to ignore calls with no arguments, and changeRSpec/MatchArray
to ignore calls with an empty array literal argument. ([@ydah], [@bquorning])RSpec/MatchArray
andRSpec/ContainExactly
pending. ([@ydah])v2.19.0
Compare Source
RSpec/ContextWording
when context is interpolated string literal or execute string. ([@ydah])RSpec/DescribeMethod
when multi-line describe without#
and.
at the beginning. ([@ydah], [@pirj])RSpec/VariableName
when inside non-spec code. ([@ydah])RSpec/VariableDefinition
when inside non-spec code. ([@ydah])RSpec/PendingBlockInsideExample
cop. ([@ydah])RSpec/RedundantAround
cop. ([@r7kamura])RSpec/Rails/TravelAround
cop. ([@r7kamura])RSpec/ContainExactly
andRSpec/MatchArray
cops. ([@faucct])RSpec/PendingWithoutReason
when not inside example and pending/skip with block. ([@ydah], [@pirj])RSpec/PendingWithoutReason
whenskip
is passed a block inside example. ([@ydah], [@pirj])RSpec/PendingBlockInsideExample
cop toRSpec/SkipBlockInsideExample
. ([@pirj])send_pattern
/block_pattern
/numblock_pattern
helpers in favour of using node pattern explicitly. ([@pirj], [@ydah])RSpec/VerifiedDoubleReference
when namespaced class. ([@ydah])v2.18.1
Compare Source
rubocop-capybara
version constraint to prevent sudden cop enabling when it hits 3.0. ([@pirj])v2.18.0
Compare Source
rubocop-capybara
. Therubocop-capybara
repository is a dependency ofrubocop-rspec
and the Capybara cops are aliased (RSpec/Capybara/Foo
==Capybara/Foo
) until v3.0 is released, so the change will be invisible to users until then. ([@pirj])v2.17.1
Compare Source
RSpec/Pending
when using skipped in metadata is multiline string. ([@ydah])RSpec/NoExpectationExample
when using skipped in metadata is multiline string. ([@ydah])RSpec/ContextMethod
when multi-line context with#
at the beginning. ([@ydah])RSpec/PredicateMatcher
when multiline expect and predicate method with heredoc. ([@ydah])RSpec/PredicateMatcher
wheninclude
with multiple argument. ([@ydah])v2.17.0
Compare Source
RSpec/PendingWithoutReason
when pending/skip is argument of methods. ([@ydah])RSpec/Capybara/MatchStyle
cop. ([@ydah])RSpec/Rails/MinitestAssertions
cop. ([@ydah])RSpec/PendingWithoutReason
when not inside example. ([@ydah])RSpec/PredicateMatcher
when usinginclude
andrespond_to
. ([@ydah])RSpec/StubbedMock
when stubbed message expectation with a block and block parameter. ([@ydah])v2.16.0
Compare Source
RSpec/FactoryBot/FactoryNameStyle
cop. ([@ydah])RSpec/Be
,RSpec/ExpectActual
,RSpec/ImplicitExpect
,RSpec/MessageSpies
,RSpec/PredicateMatcher
andRSpec/Rails/HaveHttpStatus
. ([@ydah])n_times
style onRSpec/FactoryBot/CreateList
. ([@r7kamura])RSpec/FactoryBot/ConsistentParenthesesStyle
when usinggenerate
with multiple arguments. ([@ydah])RSpec/BeEq
asSafe: false
. ([@r7kamura])RSpec/DuplicatedMetadata
cop. ([@r7kamura])RSpec/BeEql
asSafe: false
. ([@r7kamura])RSpec/PendingWithoutReason
cop. ([@r7kamura])v2.15.0
Compare Source
RSpec/RepeatedDescription
when different its block expectations are used. ([@ydah])named_only
style toRSpec/NamedSubject
. ([@kuahyeow])RSpec/FactoryBot/ConsistentParenthesesStyle
to ignore calls without the first positional argument. ([@pirj])RSpec/FactoryBot/ConsistentParenthesesStyle
to ignore calls inside a Hash or an Array. ([@pirj])RSpec/NestedGroups
to correctly useAllowedGroups
config. ([@samrjenkins])Runners
andHookScopes
RSpec DSL elements from configuration. ([@pirj])with default RSpec/Language config
helper tolib
(underrubocop/rspec/shared_contexts/default_rspec_language_config_context
), to allow use for downstream cops based onRuboCop::Cop::RSpec::Base
. ([@smcgivern])v2.14.2
Compare Source
FactoryBot/ConsistentParenthesesStyle
withomit_parentheses
option when method name and first argument are not on same line. ([@ydah])RSpec/ExampleWording
for insufficient example wording. ([@pirj])RSpec/SortMetadata
not to reorder arguments ofinclude_
/it_behaves_like
. ([@pirj])RSpec/NoExpectationExample
when allowed pattern methods with arguments. ([@ydah])RSpec/FilePath
so that it only checks suffix when path is under spec/routing or type is defined as routing. ([@r7kamura])v2.14.1
Compare Source
RSpec/Rails/InferredSpecType
with redundant type before other Hash metadata. ([@ydah])v2.14.0
Compare Source
require_implicit
style toRSpec/ImplicitSubject
. ([@r7kamura])RSpec/Capybara/SpecificMatcher
whenhave_css("a")
without attribute. ([@ydah])RSpec/ExampleWording
cop to raise error for insufficient descriptions. ([@akrox58])RSpec/Capybara/NegationMatcher
cop. ([@ydah])AllowedPatterns
configuration option toRSpec/NoExpectationExample
. ([@ydah])RSpec/NoExpectationExample
cop to ignore examples skipped or pending via metadata. ([@pirj])RSpec/FactoryBot/ConsistentParenthesesStyle
cop. ([@Liberatys])RSpec/Rails/InferredSpecType
cop. ([@r7kamura])RSpec/Capybara/SpecificActions
cop. ([@ydah])config/default.yml
removing deprecated option to make the config correctable by users. ([@ignaciovillaverde])include_examples
inRSpec/LetBeforeExamples
. ([@pirj])RSpec/SortMetadata
cop. ([@leoarnold])RSpec/SubjectDeclaration
. ([@ydah])v2.13.2
Compare Source
RSpec/Capybara/SpecificFinders
with no parentheses. ([@ydah])RSpec/NoExpectationExample
with pending usingskip
orpending
inside an example. ([@ydah])have_text
andhave_content
that raiseArgumentError
withRSpec/Capybara/VisibilityMatcher
where:visible
is an invalid option. ([@ydah])RSpec/Capybara/VisibilityMatcher
with negative matchers. ([@ydah])hotwired/turbo-rails (turbo-rails)
v2.0.10
[Compare Source](h
Configuration
📅 Schedule: Branch creation - "every 1 hour after 00:00 and before 23:59" in timezone Asia/Tokyo, 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.