diff options
author | Celso Fernandes <fernandes@users.noreply.github.com> | 2017-02-21 21:42:44 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-21 21:42:44 -0300 |
commit | 5f1430564ff8c2e651786521e9e3278becfd326b (patch) | |
tree | 9e2417a4dd03809af0c3e2be3634569490adb024 /guides | |
parent | 8de68078f4b55ed574d795cece38c2943642b95e (diff) | |
download | rails-5f1430564ff8c2e651786521e9e3278becfd326b.tar.gz rails-5f1430564ff8c2e651786521e9e3278becfd326b.tar.bz2 rails-5f1430564ff8c2e651786521e9e3278becfd326b.zip |
[doc] Fix wrong class name in testing.md
As the specified command is `rails g system_test articles`, the generated class name
is `ArticlesTest`, not `UsersTest`
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/testing.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/testing.md b/guides/source/testing.md index 2937a23a67..2a474507e6 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -712,7 +712,7 @@ Now let's open that file and write our first assertion: ```ruby require "application_system_test_case" -class UsersTest < ApplicationSystemTestCase +class ArticlesTest < ApplicationSystemTestCase test "viewing the index" do visit articles_path assert_selector "h1", text: "Articles" |