Created by: dependabot-preview[bot]
Bumps rspec-rails from 4.0.0.rc1 to 4.0.0.
Changelog
Sourced from rspec-rails's changelog.
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 are generated correctly. (Jon Rowe, #2164)ActionView::FixtureResolver#hash
has been renamed toActionView::FixtureResolver#data
. (Penelope Phippen, #2076)- Prevent
driven_by(:selenium)
being called due to hook precedence. (Takumi Shotoku, #2188)- Prevent a
WrongScopeError
being thrown during loading fixtures on Rails 6.1 development version. (Edouard Chin, #2215)- Fix Mocha mocking support with
should
. (Phil Pirozhkov, #2256)- Restore previous conditional check for setting
default_url_options
in feature specs, prevents aNoMethodError
in some scenarios. (Eugene Kenny, #2277)- Allow changing
ActiveJob::Base.queue_adapter
inside a system spec. (Jonathan Rochkind, #2242)
Commits
-
d810df5
v4.0.0 -
90e8b7b
Merge branch 'add-test-mailbox-clear' into 4-0-maintenance -
a597994
Merge pull request #2295 from rspec/reword-specs -
ee99c11
Typo🙃 -
8735475
Changelog for #2293 -
a7891f5
Switch to an anonymous class instead -
dff5c22
More generic 'describe' description -
5556f1b
Clear test mailbox from ActionMailer::Base between each example -
52d1665
Merge branch 'add-puma-log-silencing' into 4-0-maintenance -
12ae686
Refers changelog PR to #2289 - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language -
@dependabot badge me
will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)