mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fixed inconsistent require 'test_helper'
in testing guide
This commit is contained in:
parent
9a497582e6
commit
46af32aa50
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue