From 5f1430564ff8c2e651786521e9e3278becfd326b Mon Sep 17 00:00:00 2001 From: Celso Fernandes Date: Tue, 21 Feb 2017 21:42:44 -0300 Subject: [PATCH] [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` --- guides/source/testing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- GitLab