diff options
Diffstat (limited to 'guides/source/testing.md')
-rw-r--r-- | guides/source/testing.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/testing.md b/guides/source/testing.md index 2937a23a67..652030a733 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -610,7 +610,7 @@ For creating Rails system tests, you use the `test/system` directory in your application. Rails provides a generator to create a system test skeleton for you. ```bash -$ bin/rails generate system_test users_create_test.rb +$ bin/rails generate system_test users_create_test invoke test_unit create test/system/users_create_test.rb ``` @@ -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" |