Bump rspec-rails from 3.9.0 to 4.0.1
Bumps rspec-rails from 3.9.0 to 4.0.1.
Changelog
Sourced from rspec-rails's changelog.
4.0.1 / 2020-05-16
Bug Fixes:
- Remove warning when calling
driven_by
in system specs. (Aubin Lorieux, #2302)- Fix comparison of times for
#at
in job matchers. (Jon Rowe, Markus Doits, #2304)- Allow
have_enqueued_mail
to match when a sub class ofActionMailer::DeliveryJob
is set using<Class>.delivery_job=
. (Atsushi Yoshida #2305)- Restore Ruby 2.2.x compatibility. (Jon Rowe, #2332)
- Add
required_ruby_version
to gem spec. (Marc-André Lafortune, #2319, #2338)4.0.0 / 2020-03-24
Enhancements:
- Adds support for Rails 6. (Penelope Phippen, Benoit Tigeot, Jon Rowe, #2071)
- Adds support for JRuby on Rails 5.2 and 6
- Add support for parameterised mailers (Ignatius Reza, #2125)
- Add ActionMailbox spec helpers and test type (James Dabbs, #2119)
- Add ActionCable spec helpers and test type (Vladimir Dementyev, #2113)
- Add support for partial args when using
have_enqueued_mail
(Ignatius Reza, #2118, #2125)- Add support for time arguments for
have_enqueued_job
(@alpaca-tc, #2157)- Improve path parsing in view specs render options. (John Hawthorn, #2115)
- Add routing spec template as an option for generating controller specs. (David Revelo, #2134)
- Add argument matcher support to
have_enqueued_*
matchers. (Phil Pirozhkov, #2206)- Switch generated templates to use ruby 1.9 hash keys. (Tanbir Hasan, #2224)
- Add
have_been_performed
/have_performed_job
/perform_job
ActiveJob matchers (Isaac Seymour, #1785)- Default to generating request specs rather than controller specs when generating a controller (Luka Lüdicke, #2222)
- Allow
ActiveJob
matchers#on_queue
modifier to take symbolic queue names. (Nils Sommer, #2283)- The scaffold generator now generates request specs in preference to controller specs. (Luka Lüdicke, #2288)
- Add configuration option to disable ActiveRecord. (Jon Rowe, Phil Pirozhkov, Hermann Mayer, #2266)
- Set
ActionDispatch::SystemTesting::Server.silence_puma = true
when running system specs. (ta1kt0me, Benoit Tigeot, #2289)Bug Fixes:
... (truncated)
EmptyTemplateHandler.call
now needs to support an additional argument in Rails 6. (Pavel Rosický, #2089)- Suppress warning from
SQLite3Adapter.represent_boolean_as_integer
which is deprecated. (Pavel Rosický, #2092)ActionView::Template#formats
has been deprecated and replaced byActionView::Template#format
(Seb Jacobs, #2100)- Replace
before_teardown
as well asafter_teardown
to ensure screenshots
Commits
-
55072c0
Version 4.0.1 -
29ac0dd
Change log for 2332 -
1ed2a76
Merge pull request #2338 from rspec/ruby-version -
f7437a5
Change log for #2319, #2338 -
a04709e
Lower target ruby version to match Rails 5 -
cf5a907
Missing minimal Ruby version -
c2ab26a
Add back Ruby 2.2 support for Rails 5 (#2332) -
ab1282f
Revert skipping feature test with Selenium driver and wrong exit status -
c547d16
Add Ruby 2.7 to build matrix (#2271) -
6034241
Merge pull request #2328 from Samemura/patch-1 - Additional commits viewable in compare view