Skip to content

Commit df471a3

Browse files
committed
Fix documentation links for 7.1
1 parent 5ff459a commit df471a3

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

README.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ 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
@@ -89,7 +89,7 @@ read the [`rspec-rails` upgrade notes][] to find out what to watch out for.
8989

9090
Be sure to check the general [RSpec upgrade notes][] as well.
9191

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
9393
[RSpec upgrade notes]: https://rspec.info/upgrading-from-rspec-2/
9494

9595
## Usage
@@ -211,22 +211,22 @@ to test the various parts of a Rails system:
211211
Follow the links above for examples of how each matcher is used.
212212

213213
[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
223223

224224
### What else does RSpec Rails add?
225225

226226
For a comprehensive look at RSpec Rails’ features,
227227
read the [official Cucumber documentation][].
228228

229-
[official Cucumber documentation]: https://rspec.info/features/7-0/rspec-rails
229+
[official Cucumber documentation]: https://rspec.info/features/7-1/rspec-rails
230230

231231
## What tests should I write?
232232

@@ -271,20 +271,20 @@ RSpec.describe User, type: :model do
271271
...
272272
```
273273

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
284284
[`ActionDispatch::IntegrationTest`]: https://api.rubyonrails.org/classes/ActionDispatch/IntegrationTest.html
285285
[`ActionDispatch::SystemTestCase`]: https://api.rubyonrails.org/classes/ActionDispatch/SystemTestCase.html
286286
[`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
288288

289289
### System specs, feature specs, request specs–what’s the difference?
290290

lib/generators/rspec/install/templates/spec/rails_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
# end
7676
#
7777
# The different available types are documented in the features, such as in
78-
# https://rspec.info/features/7-0/rspec-rails
78+
# https://rspec.info/features/7-1/rspec-rails
7979
#
8080
# You can also this infer these behaviours automatically by location, e.g.
8181
# /spec/models would pull in the same behaviour as `type: :model` but this

0 commit comments

Comments
 (0)