rspec-rails breaking changes
rspec-rails 8.0.0 (April 30, 2025) is its newest release with breaking changes. The first: rspec-rails 8.0.0 requires Rails 7.2.0 or later. Every breaking API change we have recorded in rspec-rails on RubyGems: 26 breaking changes in 13 versions. Below, its 13 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 8.1.0. Source repository
Its 6.0.0 release requires Ruby 2.5 or later. Ruby end of life dates.
- From 7.0.0 to 8.0.0: 1 breaking change in 1 version.
- From 2.0.0 to 8.0.0: 22 breaking changes in 11 versions.
rspec-rails 8.0.0 breaking changes
- Removed
The minimum supported Rails version is now 7.2.0, so applications on older Rails must upgrade before using this release. github.com
rspec-rails 7.0.0 breaking changes
- Behavior changed
ActiveJob argument checks now compare the arguments to the job's method signature, so calls with mismatched arguments can now fail. github.com - Default changed
System specs on Rails 7.2 use the same default driver as Rails. Check any system spec that relied on the previous driver. github.com
rspec-rails 6.0.0 breaking changes
- Removed
Rails below 6.1 is no longer supported, so apps on older Rails must upgrade Rails before using this release. github.com - Removed
Ruby versions below 2.5 are no longer supported; upgrade Ruby before using this release. github.com - Behavior changed
after_teardown
In system specs, after_teardown now runs around the teardown instead of after it, which can affect extensions that depend on the old order. github.com
rspec-rails 5.0.0 breaking changes
- Removed
Rails versions below 5.2 are no longer supported; upgrade Rails to 5.2 or later before using this release. github.com
rspec-rails 4.0.0.rc1 breaking changes
- Behavior changed
ActionDispatch.SystemTesting.Server.silence_puma
Running system specs now sets Puma output to silent. Set silence_puma back to false if you need Puma logs during system specs. github.com - Default changed
The scaffold generator now generates request specs in preference to controller specs. Adjust your generator settings if you need controller specs. github.com
rspec-rails 4.0.0.beta4 breaking changes
- Default changed
Generating a controller now produces request specs by default. Pass the controller spec option if you still want controller specs. github.com
Older versions
7 older versions, each with its first changes. Sign up to see every change
Show 7 older versions
rspec-rails 4.0.0.beta3 breaking changes
- Renamed
ActionView.FixtureResolver.hash
ActionView::FixtureResolver#hash was renamed to ActionView::FixtureResolver#data. Update any code that calls the old name. github.com
rspec-rails 3.0.0 breaking changes
- Configuration changed
The generated spec_helper no longer holds Rails setup. Move Rails-specific settings and options to rails_helper. github.com
rspec-rails 3.0.0.rc1 breaking changes
- Removed
mock_model
mock_model moved out of rspec-rails into the rspec-activemodel-mocks gem. Add that gem to keep using it. github.com - Removed
stub_model
stub_model moved out of rspec-rails into the rspec-activemodel-mocks gem. Add that gem to keep using it. github.com
And 4 more in this version.
rspec-rails 3.0.0.beta2 breaking changes
- Removed
--webrat
The --webrat option for the request spec generator was removed. Stop passing it. github.com - Behavior changed
Capybara.DSL
Methods such as visit from Capybara::DSL no longer work in controller specs. Use feature specs in spec/features instead. github.com
And 1 more in this version.
rspec-rails 3.0.0.beta1 breaking changes
- Removed
Autotest and autotest-rails support moved out of rspec-rails into the rspec-autotest gem. Add that gem to keep using them. github.com
rspec-rails 2.0.0 breaking changes
- Behavior changed
route_to
The route_to matcher delegates to assert_recognizes instead of assert_routing. Routing specs may see different results. github.com
rspec-rails 2.0.0.rc breaking changes
- Behavior changed
mock_model
mock_model no longer mixes the ActiveModel and ActiveRecord APIs together. Specs that relied on ActiveRecord-only methods on mock_model may need to change. github.com - Behavior changed
stub_model
stub_model no longer mixes the ActiveModel and ActiveRecord APIs together. Specs that relied on ActiveRecord-only methods on stub_model may need to change. github.com
And 1 more in this version.
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.