Update dependency rspec-rails to v6 #55
Merged
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:
'3.9.1'
->'6.1.0'
Release Notes
rspec/rspec-rails (rspec-rails)
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)
v5.1.2
Compare Source
Full Changelog
Bug Fixes:
v5.1.1
Compare Source
Full Changelog
Bug Fixes:
have_enqueued_mail
.(Jon Rowe, #2578)
v5.1.0
Compare Source
Full Changelog
Enhancements:
Rails 6.1. (Naoto Hamada, #2484)
rails_helper.rb
template to userequire_relative
.(Jon Dufresne, #2528)
v5.0.3
Compare Source
Full Changelog
Bug Fixes:
using the
--model-name
parameter. (@kenzo-tanaka, #2534)ActionMailer::MailDeliveryJob. (Fabio Napoleoni, #2516, #2546)
have_enqueued_mail
compatibility (Mikael Henriksson, #2537, #2546)v5.0.2
Compare Source
Full Changelog
Bug Fixes:
_job
in filenames.(Nick Flückiger, #2496)
ActiveRecord::TestFixture#uses_transaction
by using example descriptionto replace example name rather than example in our monkey patched
run_in_transaction?
method. (Stan Lo, #2495)in controller specs. (Josh Cheek, #2509, #2514)
v5.0.1
Compare Source
Full Changelog
Bug Fixes:
which ends up as screenshot names etc. (@y-yagi, #2405, #2487)
v5.0.0
Compare Source
Full Changelog
Enhancements:
Breaking Changes:
v4.1.2
Compare Source
v4.1.1
Compare Source
Bug Fixes:
(@Naokimi, #2475)
v4.1.0
Compare Source
Enhancements:
#at
mismatch onusec
precision.(Jon Rowe, #2350)
_spec
suffix instead ofrequest_spec
.(Eloy Espinaco, Luka Lüdicke, #2355, #2356, #2378)
(Andrew W. Lee, #2372)
(Thomas Hareau, #2399)
let(:name)
for Rails 6.1 andlet(:method_name)
on olderRails. (Benoit Tigeot, #2461)
v4.0.2
Compare Source
Full Changelog
Bug Fixes:
true
/false
from predicate methods in config rather than raw values.(Phil Pirozhkov, Jon Rowe, #2353, #2354)
(Koen Punt, Jon Rowe, #2370)
use_active_record
isfalse
(Phil Pirozhkov, #2423)v4.0.1
Compare Source
Full Changelog
Bug Fixes:
driven_by
in system specs. (Aubin Lorieux, #2302)#at
in job matchers. (Jon Rowe, Markus Doits, #2304)have_enqueued_mail
to match when a sub class ofActionMailer::DeliveryJob
is set using
<Class>.delivery_job=
. (Atsushi Yoshida #2305)required_ruby_version
to gem spec. (Marc-André Lafortune, #2319, #2338)v4.0.0
Compare Source
Full Changelog
Enhancements:
have_enqueued_mail
(Ignatius Reza, #2118, #2125)
have_enqueued_job
(@alpaca-tc, #2157)(David Revelo, #2134)
have_enqueued_*
matchers. (Phil Pirozhkov, #2206)have_been_performed
/have_performed_job
/perform_job
ActiveJobmatchers (Isaac Seymour, #1785)
generating a controller (Luka Lüdicke, #2222)
ActiveJob
matchers#on_queue
modifier to take symbolic queue names. (Nils Sommer, #2283)(Luka Lüdicke, #2288)
ActionDispatch::SystemTesting::Server.silence_puma = true
when running system specs.(ta1kt0me, Benoit Tigeot, #2289)
Bug Fixes:
EmptyTemplateHandler.call
now needs to support an additional argument inRails 6. (Pavel Rosický, #2089)
SQLite3Adapter.represent_boolean_as_integer
which isdeprecated. (Pavel Rosický, #2092)
ActionView::Template#formats
has been deprecated and replaced byActionView::Template#format
(Seb Jacobs, #2100)before_teardown
as well asafter_teardown
to ensure screenshotsare generated correctly. (Jon Rowe, #2164)
ActionView::FixtureResolver#hash
has been renamed toActionView::FixtureResolver#data
.(Penelope Phippen, #2076)
driven_by(:selenium)
being called due to hook precedence.(Takumi Shotoku, #2188)
WrongScopeError
being thrown during loading fixtures on Rails6.1 development version. (Edouard Chin, #2215)
should
. (Phil Pirozhkov, #2256)default_url_options
in featurespecs, prevents a
NoMethodError
in some scenarios. (Eugene Kenny, #2277)ActiveJob::Base.queue_adapter
inside a system spec.(Jonathan Rochkind, #2242)
rails generate generator
command now creates related spec file (Joel Azemar, #2217)capybara
version constraint to allow for Capybara 3.x (Phil Pirozhkov, #2281)Breaking Changes:
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.