Skip to content

Commit 43f89aa

Browse files
authored
Fix outdated api.rubyonrails.org links in Testing Guide [ci skip]
1 parent 93aa900 commit 43f89aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

guides/source/testing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ JavaScript as well. System tests inherit from
6464
[Capybara](https://github.com/teamcapybara/capybara) and perform in-browser
6565
tests for your application.
6666

67-
[Fixtures](https://api.rubyonrails.org/v3.1/classes/ActiveRecord/Fixtures.html)
67+
[Fixtures](https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html)
6868
are a way of mocking up data to use in your tests, so that you don't have to use
6969
'real' data. They are stored in the `fixtures` directory, and you can read more
7070
about them in the [Fixtures](#fixtures) section below.
@@ -1677,7 +1677,7 @@ which can be used in system tests.
16771677
#### Screenshot Helper
16781678

16791679
The
1680-
[`ScreenshotHelper`](https://api.rubyonrails.org/v5.1.7/classes/ActionDispatch/SystemTesting/TestHelpers/ScreenshotHelper.html)
1680+
[`ScreenshotHelper`](https://api.rubyonrails.org/classes/ActionDispatch/SystemTesting/TestHelpers/ScreenshotHelper.html)
16811681
is a helper designed to capture screenshots of your tests. This can be helpful
16821682
for viewing the browser at the point a test failed, or to view screenshots later
16831683
for debugging.

0 commit comments

Comments
 (0)