Use __send__ rather than send to prevent naming collisions (Bradley Schaefer)
Supports Rails 4.1. (Andy Lindeman)
Routes are drawn correctly for anonymous controllers with abstract
parents. (Billy Chan)
Loads ActiveSupport properly to support changes in Rails 4.1. (Andy Lindeman)
Anonymous controllers inherit from ActionController::Base if ApplicationController
is not present. (Jon Rowe)
Require rspec/collection_matchers when rspec/rails is required. (Yuji Nakayama)
Enhancements
Improve be_valid matcher for non-ActiveModel::Errors implementations (Ben Hamill)
Breaking Changes for 3.0.0:
Removes the --webrat option for the request spec generator (Andy Lindeman)
Methods from Capybara::DSL (e.g., visit) are no longer available in
controller specs. It is more appropriate to use capybara in feature specs
(spec/features) instead. (Andy Lindeman)
infer_base_class_for_anonymous_controllers is
enabled by default. (Thomas Holmes)
Capybara 2.2.0 or above is required for feature specs. (Andy Lindeman)
Minor tweak to generated rails_helper.rb to use Rails.root.join.
(@masato-bkn, Ryo Nakamura, #2640, #2678)
Add RSpec::Rails::Configuration.fixture_paths configuration to support
the matching change to ActiveRecord::TestFixtures, previous singular
form is deprecated and will be removed in Rails 7.2. (Juan Gueçaimburu, #2673)
Add send_email matcher to match emails rather than specific jobs.
(Andrei Kaleshka, #2670)
When using render in view specs, :locals will now be merged into the
default implicit template, allowing render locals: {...} style calls.
(Jon Rowe, #2686)
Add support for Rails.config.action_mailer.preview_paths on Rails 7.1/
(Jon Rowe, #2706)
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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)
Bumps rspec-rails from 1.3.4 to 6.1.0.
Release notes
Sourced from rspec-rails's releases.
... (truncated)
Changelog
Sourced from rspec-rails's changelog.
... (truncated)
Commits
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 show