[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:
parent
8de68078f4
commit
5f1430564f
@ -712,7 +712,7 @@ Now let's open that file and write our first assertion:
|
|||||||
```ruby
|
```ruby
|
||||||
require "application_system_test_case"
|
require "application_system_test_case"
|
||||||
|
|
||||||
class UsersTest < ApplicationSystemTestCase
|
class ArticlesTest < ApplicationSystemTestCase
|
||||||
test "viewing the index" do
|
test "viewing the index" do
|
||||||
visit articles_path
|
visit articles_path
|
||||||
assert_selector "h1", text: "Articles"
|
assert_selector "h1", text: "Articles"
|
||||||
|
Loading…
Reference in New Issue
Block a user