fixed inconsistent `require 'test_helper'` in testing guide
This commit is contained in:
parent
9a497582e6
commit
46af32aa50
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue