Skip to content

Commit bd3564f

Browse files
committed
Update documentation links
1 parent 6482e4f commit bd3564f

File tree

8 files changed

+37
-55
lines changed

8 files changed

+37
-55
lines changed

BUILD_DETAIL.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ DO NOT modify it by hand as your changes will get lost the next time it is gener
55

66
# The CI build, in detail
77

8-
The [Travis CI build](https://travis-ci.org/rspec/rspec-rails)
9-
runs many verification steps to prevent regressions and
8+
The CI build runs many verification steps to prevent regressions and
109
ensure high-quality code. To run the Travis build locally, run:
1110

1211
```
@@ -50,7 +49,7 @@ project-specific threshold, the build will fail.
5049
## Cukes
5150

5251
RSpec uses [cucumber](https://cucumber.io/) for both acceptance testing
53-
and [documentation](https://relishapp.com/rspec). Since we publish our cukes
52+
and [documentation](https://rspec.info/documentation). Since we publish our cukes
5453
as documentation, please limit new cucumber scenarios to user-facing examples
5554
that help demonstrate usage. Any tests that exist purely to prevent regressions
5655
should be written as specs, even if they are written in an acceptance style.

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ If you'd like to help make RSpec better, here are some ways you can contribute:
1313
- by running RSpec HEAD to help us catch bugs before new releases
1414
- by [reporting bugs you encounter](https://github.com/rspec/rspec-rails/issues/new?template=bug_report.md)
1515
- by [suggesting new features](https://github.com/rspec/rspec-rails/issues/new?template=feature_request.md)
16-
- by improving RSpec's [Relish](https://relishapp.com/rspec) or [API](https://rspec.info/documentation/) documentation
16+
- by improving RSpec's [Gherkin](https://rspec.info/documentation/) or [API](https://rspec.info/documentation/) documentation
1717
- by improving [RSpec's website](https://rspec.info/) ([source](https://github.com/rspec/rspec.github.io))
1818
- by taking part in [feature and issue discussions](https://github.com/rspec/rspec-rails/issues)
1919
- by adding a failing test for reproducible [reported bugs](https://github.com/rspec/rspec-rails/issues)

DEVELOPMENT.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,8 @@ gem declarations. The `Gemfile` evaluates that file if it exists, and it is git-
8585

8686
# Running the build
8787

88-
The [Travis CI build](https://travis-ci.org/rspec/rspec-rails)
89-
runs many verification steps to prevent regressions and
90-
ensure high-quality code. To run the Travis build locally, run:
88+
The CI build runs many verification steps to prevent regressions and
89+
ensure high-quality code. To run the build locally, run:
9190

9291
```
9392
$ script/run_build

README.md

Lines changed: 29 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ According to [RSpec Rails new versioning strategy][] use:
1515
* **[`rspec-rails` 3.x][]** for Rails earlier than 5.0.
1616
* **[`rspec-rails` 1.x][]** for Rails 2.x.
1717

18-
[Build Status]: https://secure.travis-ci.org/rspec/rspec-rails.svg?branch=main
19-
[travis-ci]: https://travis-ci.org/rspec/rspec-rails
2018
[Code Climate]: https://codeclimate.com/github/rspec/rspec-rails.svg
2119
[code-climate]: https://codeclimate.com/github/rspec/rspec-rails
2220
[Gem Version]: https://badge.fury.io/rb/rspec-rails.svg
@@ -88,8 +86,8 @@ read the [`rspec-rails` upgrade notes][] to find out what to watch out for.
8886

8987
Be sure to check the general [RSpec upgrade notes][] as well.
9088

91-
[`rspec-rails` upgrade notes]: https://www.relishapp.com/rspec/rspec-rails/docs/upgrade
92-
[RSpec upgrade notes]: https://relishapp.com/rspec/docs/upgrade
89+
[`rspec-rails` upgrade notes]: https://rspec.info/features/6-0/rspec-rails/upgrade
90+
[RSpec upgrade notes]: https://rspec.info/upgrading-from-rspec-2/
9391

9492
## Usage
9593

@@ -183,7 +181,7 @@ rspec ./spec/models/post_spec.rb:3 # Post before publication cannot have comment
183181
For an in-depth look at the RSpec DSL, including lots of examples,
184182
read the official Cucumber documentation for [RSpec Core][].
185183

186-
[RSpec Core]: https://relishapp.com/rspec/rspec-core/docs
184+
[RSpec Core]: https://rspec.info/features/3-12/rspec-core
187185

188186
### Helpful Rails Matchers
189187

@@ -209,23 +207,23 @@ to test the various parts of a Rails system:
209207

210208
Follow the links above for examples of how each matcher is used.
211209

212-
[the matchers that come standard in RSpec]: https://relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
213-
[`be_a_new`]: https://relishapp.com/rspec/rspec-rails/docs/matchers/be-a-new-matcher
214-
[`render_template`]: https://relishapp.com/rspec/rspec-rails/docs/matchers/render-template-matcher
215-
[`redirect_to`]: https://relishapp.com/rspec/rspec-rails/docs/matchers/redirect-to-matcher
216-
[`route_to`]: https://relishapp.com/rspec/rspec-rails/docs/routing-specs/route-to-matcher
217-
[`be_routable`]: https://relishapp.com/rspec/rspec-rails/docs/routing-specs/be-routable-matcher
218-
[`have_http_status`]: https://relishapp.com/rspec/rspec-rails/docs/matchers/have-http-status-matcher
219-
[`match_array`]: https://relishapp.com/rspec/rspec-rails/docs/matchers/activerecord-relation-match-array
220-
[`have_been_enqueued`]: https://relishapp.com/rspec/rspec-rails/docs/matchers/have-been-enqueued-matcher
221-
[`have_enqueued_job`]: https://relishapp.com/rspec/rspec-rails/docs/matchers/have-enqueued-job-matcher
210+
[the matchers that come standard in RSpec]: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers
211+
[`be_a_new`]: https://rspec.info/features/6-0/rspec-rails/matchers/new-record-matcher
212+
[`render_template`]: https://rspec.info/features/6-0/rspec-rails/matchers/render-template-matcher
213+
[`redirect_to`]: https://rspec.info/features/6-0/rspec-rails/matchers/redirect-to-matcher
214+
[`route_to`]: https://rspec.info/features/6-0/rspec-rails/routing-specs/route-to-matcher
215+
[`be_routable`]: https://rspec.info/features/6-0/rspec-rails/routing-specs/be-routable-matcher
216+
[`have_http_status`]: https://rspec.info/features/6-0/rspec-rails/matchers/have-http-status-matcher
217+
[`match_array`]: https://rspec.info/features/6-0/rspec-rails/matchers/relation-match-array
218+
[`have_been_enqueued`]: https://rspec.info/features/6-0/rspec-rails/matchers/have-been-enqueued-matcher
219+
[`have_enqueued_job`]: https://rspec.info/features/6-0/rspec-rails/matchers/have-enqueued-job-matcher
222220

223221
### What else does RSpec Rails add?
224222

225223
For a comprehensive look at RSpec Rails’ features,
226224
read the [official Cucumber documentation][].
227225

228-
[official Cucumber documentation]: https://relishapp.com/rspec/rspec-rails/docs
226+
[official Cucumber documentation]: https://rspec.info/features/6-0/rspec-rails
229227

230228
## What tests should I write?
231229

@@ -270,20 +268,20 @@ RSpec.describe User, type: :model do
270268
...
271269
```
272270

273-
[request]: https://relishapp.com/rspec/rspec-rails/docs/request-specs/request-spec
274-
[feature]: https://www.relishapp.com/rspec/rspec-rails/docs/feature-specs/feature-spec
275-
[system]: https://relishapp.com/rspec/rspec-rails/docs/system-specs/system-spec
276-
[model]: https://www.relishapp.com/rspec/rspec-rails/docs/model-specs
277-
[controller]: https://www.relishapp.com/rspec/rspec-rails/docs/controller-specs
278-
[mailer]: https://relishapp.com/rspec/rspec-rails/docs/mailer-specs
279-
[job]: https://relishapp.com/rspec/rspec-rails/docs/job-specs/job-spec
280-
[view]: https://www.relishapp.com/rspec/rspec-rails/docs/view-specs/view-spec
281-
[routing]: https://www.relishapp.com/rspec/rspec-rails/docs/routing-specs
282-
[helper]: https://www.relishapp.com/rspec/rspec-rails/docs/helper-specs/helper-spec
271+
[request]: https://rspec.info/features/6-0/rspec-rails/request-specs/request-spec
272+
[feature]: https://rspec.info/features/6-0/rspec-rails/feature-specs/feature-spec
273+
[system]: https://rspec.info/features/6-0/rspec-rails/system-specs/system-specs
274+
[model]: https://rspec.info/features/6-0/rspec-rails/model-specs
275+
[controller]: https://rspec.info/features/6-0/rspec-rails/controller-specs
276+
[mailer]: https://rspec.info/features/6-0/rspec-rails/mailer-specs
277+
[job]: https://rspec.info/features/6-0/rspec-rails/job-specs/job-spec
278+
[view]: https://rspec.info/features/6-0/rspec-rails/view-specs/view-spec
279+
[routing]: https://rspec.info/features/6-0/rspec-rails/routing-specs
280+
[helper]: https://rspec.info/features/6-0/rspec-rails/helper-specs/helper-spec
283281
[`ActionDispatch::IntegrationTest`]: https://api.rubyonrails.org/classes/ActionDispatch/IntegrationTest.html
284282
[`ActionDispatch::SystemTestCase`]: https://api.rubyonrails.org/classes/ActionDispatch/SystemTestCase.html
285283
[`ActionController::TestCase`]: https://api.rubyonrails.org/classes/ActionController/TestCase.html
286-
[in the appropriate folder]: https://relishapp.com/rspec/rspec-rails/docs/directory-structure
284+
[in the appropriate folder]: https://rspec.info/features/6-0/rspec-rails/directory-structure
287285

288286
### System specs, feature specs, request specs–what’s the difference?
289287

@@ -366,10 +364,10 @@ you can run the specs and Cucumber features, or submit a pull request.
366364

367365
### RSpec base libraries
368366

369-
* <https://github.com/rspec/rspec>
370-
* <https://github.com/rspec/rspec-core>
371-
* <https://github.com/rspec/rspec-expectations>
372-
* <https://github.com/rspec/rspec-mocks>
367+
* https://github.com/rspec/rspec
368+
* https://github.com/rspec/rspec-core
369+
* https://github.com/rspec/rspec-expectations
370+
* https://github.com/rspec/rspec-mocks
373371

374372
### Recommended third-party extensions
375373

Rakefile

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -112,20 +112,6 @@ namespace :clobber do
112112
end
113113
end
114114

115-
desc "Push docs/cukes to relishapp using the relish-client-gem"
116-
task :relish, :version do |_t, args|
117-
raise "rake relish[VERSION]" unless args[:version]
118-
119-
sh "cp Changelog.md features/"
120-
if `relish versions rspec/rspec-rails`.split.map(&:strip).include? args[:version]
121-
puts "Version #{args[:version]} already exists"
122-
else
123-
sh "relish versions:add rspec/rspec-rails:#{args[:version]}"
124-
end
125-
sh "relish push rspec/rspec-rails:#{args[:version]}"
126-
sh "rm features/Changelog.md"
127-
end
128-
129115
namespace :no_active_record do
130116
example_app_dir = './tmp/no_ar_example_app'
131117

features/upgrade/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ RSpec Rails 4 is a major version under semantic versioning, it allowed us to cha
1616

1717
If you are using Rails 4.2 you can use RSpec Rails 4, but note that support for it is not maintained, we consider this a breaking change hence the version change, and you must be on Ruby 2.2 as a minimum.
1818

19-
If you are upgrading from an earlier version of RSpec Rails, please consult [the upgrading 2.x to 3.x guide](https://web.archive.org/web/20221206041517/https://relishapp.com/rspec/rspec-rails/v/3-9/docs/upgrade).
19+
If you are upgrading from an earlier version of RSpec Rails, please consult [the upgrading 2.x to 3.x guide](https://web.archive.org/web/20220124160827/https://relishapp.com/rspec/rspec-rails/v/3-9/docs/upgrade).

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
# end
6969
#
7070
# The different available types are documented in the features, such as in
71-
# https://relishapp.com/rspec/rspec-rails/docs
71+
# https://rspec.info/features/6-0/rspec-rails
7272
config.infer_spec_type_from_file_location!
7373
7474
# Filter lines from Rails gems in backtraces.

rfcs/versioning-strategy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This RFC captures a proposal for RSpec Rails' new versioning strategy. Specifica
88

99
## Need
1010

11-
Currently, the RSpec Rails [build matrix](https://travis-ci.org/rspec/rspec-rails)
11+
Currently, the RSpec Rails build matrix
1212
has 63 entries. This permutes rubies since 1.8.7 and Rails versions since 3.0.
1313
As of right now the full build takes over an hour to run, and this makes cycling
1414
for PRs and quick iterative development very difficult.

0 commit comments

Comments
 (0)