提交 5f143056 编写于 作者: C Celso Fernandes 提交者: GitHub

[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`
上级 8de68078
......@@ -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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册