@@ -27,14 +27,13 @@ According to [RSpec Rails new versioning strategy][] use:
2727[ `rspec-rails` 4.x ] : https://github.com/rspec/rspec-rails/tree/4-1-maintenance
2828[ `rspec-rails` 5.x ] : https://github.com/rspec/rspec-rails/tree/5-1-maintenance
2929[ `rspec-rails` 6.x ] : https://github.com/rspec/rspec-rails/tree/6-1-maintenance
30- [ `rspec-rails` 7.x ] : https://github.com/rspec/rspec-rails/tree/7-0 -maintenance
30+ [ `rspec-rails` 7.x ] : https://github.com/rspec/rspec-rails/tree/7-1 -maintenance
3131[ RSpec Rails new versioning strategy ] : https://github.com/rspec/rspec-rails/blob/main/rfcs/versioning-strategy.md
3232
3333## Installation
3434
35- ** IMPORTANT** This README / branch refers to the 7.1.x stable release series, only bugfixes from this series will
36- be added here. See the [ ` main ` branch on Github] ( https://github.com/rspec/rspec-rails/tree/main ) if you want or
37- require the latest unstable features.
35+ ** IMPORTANT** This README / branch refers to the current development build.
36+ See the [ ` 7-1-maintenance ` branch on Github] ( https://github.com/rspec/rspec-rails/tree/7-1-maintenance ) if you want or require the latest stable release.
3837
39381 . Add ` rspec-rails ` to ** both** the ` :development ` and ` :test ` groups
4039 of your app’s ` Gemfile ` :
@@ -89,7 +88,7 @@ read the [`rspec-rails` upgrade notes][] to find out what to watch out for.
8988
9089Be sure to check the general [ RSpec upgrade notes] [ ] as well.
9190
92- [ `rspec-rails` upgrade notes ] : https://rspec.info/features/7-0 /rspec-rails/upgrade
91+ [ `rspec-rails` upgrade notes ] : https://rspec.info/features/7-1 /rspec-rails/upgrade
9392[ RSpec upgrade notes ] : https://rspec.info/upgrading-from-rspec-2/
9493
9594## Usage
@@ -211,22 +210,22 @@ to test the various parts of a Rails system:
211210Follow the links above for examples of how each matcher is used.
212211
213212[ the matchers that come standard in RSpec ] : https://rspec.info/features/3-12/rspec-expectations/built-in-matchers
214- [ `be_a_new` ] : https://rspec.info/features/7-0 /rspec-rails/matchers/new-record-matcher
215- [ `render_template` ] : https://rspec.info/features/7-0 /rspec-rails/matchers/render-template-matcher
216- [ `redirect_to` ] : https://rspec.info/features/7-0 /rspec-rails/matchers/redirect-to-matcher
217- [ `route_to` ] : https://rspec.info/features/7-0 /rspec-rails/routing-specs/route-to-matcher
218- [ `be_routable` ] : https://rspec.info/features/7-0 /rspec-rails/routing-specs/be-routable-matcher
219- [ `have_http_status` ] : https://rspec.info/features/7-0 /rspec-rails/matchers/have-http-status-matcher
220- [ `match_array` ] : https://rspec.info/features/7-0 /rspec-rails/matchers/relation-match-array
221- [ `have_been_enqueued` ] : https://rspec.info/features/7-0 /rspec-rails/matchers/have-been-enqueued-matcher
222- [ `have_enqueued_job` ] : https://rspec.info/features/7-0 /rspec-rails/matchers/have-enqueued-job-matcher
213+ [ `be_a_new` ] : https://rspec.info/features/7-1 /rspec-rails/matchers/new-record-matcher
214+ [ `render_template` ] : https://rspec.info/features/7-1 /rspec-rails/matchers/render-template-matcher
215+ [ `redirect_to` ] : https://rspec.info/features/7-1 /rspec-rails/matchers/redirect-to-matcher
216+ [ `route_to` ] : https://rspec.info/features/7-1 /rspec-rails/routing-specs/route-to-matcher
217+ [ `be_routable` ] : https://rspec.info/features/7-1 /rspec-rails/routing-specs/be-routable-matcher
218+ [ `have_http_status` ] : https://rspec.info/features/7-1 /rspec-rails/matchers/have-http-status-matcher
219+ [ `match_array` ] : https://rspec.info/features/7-1 /rspec-rails/matchers/relation-match-array
220+ [ `have_been_enqueued` ] : https://rspec.info/features/7-1 /rspec-rails/matchers/have-been-enqueued-matcher
221+ [ `have_enqueued_job` ] : https://rspec.info/features/7-1 /rspec-rails/matchers/have-enqueued-job-matcher
223222
224223### What else does RSpec Rails add?
225224
226225For a comprehensive look at RSpec Rails’ features,
227226read the [ official Cucumber documentation] [ ] .
228227
229- [ official Cucumber documentation ] : https://rspec.info/features/7-0 /rspec-rails
228+ [ official Cucumber documentation ] : https://rspec.info/features/7-1 /rspec-rails
230229
231230## What tests should I write?
232231
@@ -271,20 +270,20 @@ RSpec.describe User, type: :model do
271270...
272271```
273272
274- [ request ] : https://rspec.info/features/7-0 /rspec-rails/request-specs/request-spec
275- [ feature ] : https://rspec.info/features/7-0 /rspec-rails/feature-specs/feature-spec
276- [ system ] : https://rspec.info/features/7-0 /rspec-rails/system-specs/system-specs
277- [ model ] : https://rspec.info/features/7-0 /rspec-rails/model-specs
278- [ controller ] : https://rspec.info/features/7-0 /rspec-rails/controller-specs
279- [ mailer ] : https://rspec.info/features/7-0 /rspec-rails/mailer-specs
280- [ job ] : https://rspec.info/features/7-0 /rspec-rails/job-specs/job-spec
281- [ view ] : https://rspec.info/features/7-0 /rspec-rails/view-specs/view-spec
282- [ routing ] : https://rspec.info/features/7-0 /rspec-rails/routing-specs
283- [ helper ] : https://rspec.info/features/7-0 /rspec-rails/helper-specs/helper-spec
273+ [ request ] : https://rspec.info/features/7-1 /rspec-rails/request-specs/request-spec
274+ [ feature ] : https://rspec.info/features/7-1 /rspec-rails/feature-specs/feature-spec
275+ [ system ] : https://rspec.info/features/7-1 /rspec-rails/system-specs/system-specs
276+ [ model ] : https://rspec.info/features/7-1 /rspec-rails/model-specs
277+ [ controller ] : https://rspec.info/features/7-1 /rspec-rails/controller-specs
278+ [ mailer ] : https://rspec.info/features/7-1 /rspec-rails/mailer-specs
279+ [ job ] : https://rspec.info/features/7-1 /rspec-rails/job-specs/job-spec
280+ [ view ] : https://rspec.info/features/7-1 /rspec-rails/view-specs/view-spec
281+ [ routing ] : https://rspec.info/features/7-1 /rspec-rails/routing-specs
282+ [ helper ] : https://rspec.info/features/7-1 /rspec-rails/helper-specs/helper-spec
284283[ `ActionDispatch::IntegrationTest` ] : https://api.rubyonrails.org/classes/ActionDispatch/IntegrationTest.html
285284[ `ActionDispatch::SystemTestCase` ] : https://api.rubyonrails.org/classes/ActionDispatch/SystemTestCase.html
286285[ `ActionController::TestCase` ] : https://api.rubyonrails.org/classes/ActionController/TestCase.html
287- [ in the appropriate folder ] : https://rspec.info/features/7-0 /rspec-rails/directory-structure
286+ [ in the appropriate folder ] : https://rspec.info/features/7-1 /rspec-rails/directory-structure
288287
289288### System specs, feature specs, request specs–what’s the difference?
290289
0 commit comments