This repository has been archived by the owner on Sep 28, 2023. It is now read-only.
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.0'
->'~> 6.0'
Release Notes
rspec/rspec-rails (rspec-rails)
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:
v3.9.1
Compare Source
Full Changelog
Bug Fixes:
v3.9.0
Compare Source
Full Changelog
Enhancements
__dir__
instead of__FILE__
in generatedrails_helper.rb
wheresupported. (OKURA Masafumi, #2048)
have_enqueued_mail
matcher as a "super" matcher to theActiveJob
matchersmaking it easier to match on
ActiveJob
delivered emails. (Joel Lubrano, #2047)Bug Fixes:
ActiveJob
matchers fail when multiple jobs are queued for negatedmatches. e.g.
expect { job; job; }.to_not have_enqueued_job
.(Emric Istanful, #2069)
v3.8.3
Compare Source
Full Changelog
Bug Fixes:
/
separated path rather than an_
.(@nxlith, #2077)
errors
before attempting to use it to generate thebe_valid
error message. (Kevin Kuchta, #2096)
v3.8.2
Compare Source
Full Changelog
Bug Fixes:
Mailer
would be duplicatedin the name. (Kohei Sugi, #2037)
prepended. (Takumi Kaji, #2058)
ActiveJob
matchers fail when multiple jobs are queuedfor negated matches. e.g. `expect { job; job; }.to_not have_enqueued_job
(Emric Istanful, #2069)
v3.8.1
Compare Source
Full Changelog
Bug Fixes:
NoMethodError: undefined method 'strip'
when using aPathname
objectas the fixture file path. (Aaron Kromer, #2026)
(Laura Paakkinen, #2034)
ActiveJob::DeserializationError
from being issued whenActiveJob
matchers de-serialize arguments. (@aymeric-ledorze, #2036)
v3.8.0
Compare Source
Full Changelog
Enhancements:
rails_helper.rb
(Koichi ITO, #1924)
have_http_status
matcher now supports Rails 5.2 style response symbols(Douglas Lovell, #1951)
(Alessandro Rodi, #1960)
(Brad Charna, #1977)
ActionView::Template
used instub_template
resultingin increased performance due to less allocations and setup. (Simon Coffey, #1979)
(Laura Paakkinen, #1958)
Bug Fixes:
screenshots. (Shane Cavanaugh, #1955)
fixture_path
is not set.(Laurent Cobos, #1943)
v3.7.2
Compare Source
Full Changelog
Bug Fixes:
(Matt Brictson, #1907)
v3.7.1
Compare Source
Full Changelog
Bug Fixes:
v3.7.0
Compare Source
Full Changelog
Bug Fixes:
environments. (Samuel Cochran, #1831)
Enhancements:
be_a_new(...).with(...)
matcher to accept matchers forattribute values. (Britni Alexander, #1811)
ActionDispatch::SystemTestCase
. (Sam Phippen, #1813)v3.6.1
Compare Source
v3.6.0
Compare Source
Full Changelog
Enhancements:
Bug Fixes:
on Rails 3.x and 4.x. (Yuji Nakayama, #1710)
v3.5.2
Compare Source
Full Changelog
Bug Fixes:
rspec/core
fromrspec/rails
to avoidIRB context warning. (Myron Marston, #1678)
(Wojciech Wnętrzak, #1684)
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.