[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`
This commit is contained in:
Celso Fernandes 2017-02-21 21:42:44 -03:00 committed by GitHub
parent 8de68078f4
commit 5f1430564f

@ -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"