提交 46af32aa 编写于 作者: J Joey Schoblaska

fixed inconsistent `require 'test_helper'` in testing guide

上级 9a497582
......@@ -830,7 +830,7 @@ Above, the `setup` method is called before each test and so `@post` is available
Let's see the earlier example by specifying `setup` callback by specifying a method name as a symbol:
```ruby
require '../test_helper'
require 'test_helper'
class PostsControllerTest < ActionController::TestCase
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册