@@ -27,7 +27,7 @@ According to [RSpec Rails new versioning strategy][] use:
27
27
[ `rspec-rails` 4.x ] : https://github.com/rspec/rspec-rails/tree/4-1-maintenance
28
28
[ `rspec-rails` 5.x ] : https://github.com/rspec/rspec-rails/tree/5-1-maintenance
29
29
[ `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
31
31
[ RSpec Rails new versioning strategy ] : https://github.com/rspec/rspec-rails/blob/main/rfcs/versioning-strategy.md
32
32
33
33
## Installation
@@ -89,7 +89,7 @@ read the [`rspec-rails` upgrade notes][] to find out what to watch out for.
89
89
90
90
Be sure to check the general [ RSpec upgrade notes] [ ] as well.
91
91
92
- [ `rspec-rails` upgrade notes ] : https://rspec.info/features/7-0 /rspec-rails/upgrade
92
+ [ `rspec-rails` upgrade notes ] : https://rspec.info/features/7-1 /rspec-rails/upgrade
93
93
[ RSpec upgrade notes ] : https://rspec.info/upgrading-from-rspec-2/
94
94
95
95
## Usage
@@ -211,22 +211,22 @@ to test the various parts of a Rails system:
211
211
Follow the links above for examples of how each matcher is used.
212
212
213
213
[ 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
214
+ [ `be_a_new` ] : https://rspec.info/features/7-1 /rspec-rails/matchers/new-record-matcher
215
+ [ `render_template` ] : https://rspec.info/features/7-1 /rspec-rails/matchers/render-template-matcher
216
+ [ `redirect_to` ] : https://rspec.info/features/7-1 /rspec-rails/matchers/redirect-to-matcher
217
+ [ `route_to` ] : https://rspec.info/features/7-1 /rspec-rails/routing-specs/route-to-matcher
218
+ [ `be_routable` ] : https://rspec.info/features/7-1 /rspec-rails/routing-specs/be-routable-matcher
219
+ [ `have_http_status` ] : https://rspec.info/features/7-1 /rspec-rails/matchers/have-http-status-matcher
220
+ [ `match_array` ] : https://rspec.info/features/7-1 /rspec-rails/matchers/relation-match-array
221
+ [ `have_been_enqueued` ] : https://rspec.info/features/7-1 /rspec-rails/matchers/have-been-enqueued-matcher
222
+ [ `have_enqueued_job` ] : https://rspec.info/features/7-1 /rspec-rails/matchers/have-enqueued-job-matcher
223
223
224
224
### What else does RSpec Rails add?
225
225
226
226
For a comprehensive look at RSpec Rails’ features,
227
227
read the [ official Cucumber documentation] [ ] .
228
228
229
- [ official Cucumber documentation ] : https://rspec.info/features/7-0 /rspec-rails
229
+ [ official Cucumber documentation ] : https://rspec.info/features/7-1 /rspec-rails
230
230
231
231
## What tests should I write?
232
232
@@ -271,20 +271,20 @@ RSpec.describe User, type: :model do
271
271
...
272
272
```
273
273
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
274
+ [ request ] : https://rspec.info/features/7-1 /rspec-rails/request-specs/request-spec
275
+ [ feature ] : https://rspec.info/features/7-1 /rspec-rails/feature-specs/feature-spec
276
+ [ system ] : https://rspec.info/features/7-1 /rspec-rails/system-specs/system-specs
277
+ [ model ] : https://rspec.info/features/7-1 /rspec-rails/model-specs
278
+ [ controller ] : https://rspec.info/features/7-1 /rspec-rails/controller-specs
279
+ [ mailer ] : https://rspec.info/features/7-1 /rspec-rails/mailer-specs
280
+ [ job ] : https://rspec.info/features/7-1 /rspec-rails/job-specs/job-spec
281
+ [ view ] : https://rspec.info/features/7-1 /rspec-rails/view-specs/view-spec
282
+ [ routing ] : https://rspec.info/features/7-1 /rspec-rails/routing-specs
283
+ [ helper ] : https://rspec.info/features/7-1 /rspec-rails/helper-specs/helper-spec
284
284
[ `ActionDispatch::IntegrationTest` ] : https://api.rubyonrails.org/classes/ActionDispatch/IntegrationTest.html
285
285
[ `ActionDispatch::SystemTestCase` ] : https://api.rubyonrails.org/classes/ActionDispatch/SystemTestCase.html
286
286
[ `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
287
+ [ in the appropriate folder ] : https://rspec.info/features/7-1 /rspec-rails/directory-structure
288
288
289
289
### System specs, feature specs, request specs–what’s the difference?
290
290
0 commit comments