aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/testing.md
diff options
context:
space:
mode:
authorJoey Schoblaska <joey.schoblaska@gmail.com>2012-12-30 16:47:19 -0600
committerJoey Schoblaska <joey.schoblaska@gmail.com>2012-12-30 16:47:19 -0600
commit46af32aa50cb9fda2cbefb124ef0adf3116137ec (patch)
treefe91b1deffeb04c66f600b1add8c09044d115632 /guides/source/testing.md
parent9a497582e666b20cf38b87bf8beb64e60d3ed564 (diff)
downloadrails-46af32aa50cb9fda2cbefb124ef0adf3116137ec.tar.gz
rails-46af32aa50cb9fda2cbefb124ef0adf3116137ec.tar.bz2
rails-46af32aa50cb9fda2cbefb124ef0adf3116137ec.zip
fixed inconsistent `require 'test_helper'` in testing guide
Diffstat (limited to 'guides/source/testing.md')
-rw-r--r--guides/source/testing.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/testing.md b/guides/source/testing.md
index f178ca87e9..7747318d32 100644
--- a/guides/source/testing.md
+++ b/guides/source/testing.md
@@ -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