aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorDan Erikson <derikson3@gmail.com>2013-04-06 00:01:48 -0600
committerDan Erikson <derikson3@gmail.com>2013-04-06 00:01:48 -0600
commit018cc389d13aba3f4f6072b2e529e05bf380ee0a (patch)
treec7407243e118090e09d66c767c6dff575fd521bd /guides
parentb75c0bb3785d907b4d811282252f8a684599c15b (diff)
downloadrails-018cc389d13aba3f4f6072b2e529e05bf380ee0a.tar.gz
rails-018cc389d13aba3f4f6072b2e529e05bf380ee0a.tar.bz2
rails-018cc389d13aba3f4f6072b2e529e05bf380ee0a.zip
Corrected model test directory to be test/models instead of test/unit.
Diffstat (limited to 'guides')
-rw-r--r--guides/source/testing.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/testing.md b/guides/source/testing.md
index 70061dc815..7aeb26adb3 100644
--- a/guides/source/testing.md
+++ b/guides/source/testing.md
@@ -128,12 +128,12 @@ When you use `rails generate scaffold`, for a resource among other things it cre
$ rails generate scaffold post title:string body:text
...
create app/models/post.rb
-create test/unit/post_test.rb
+create test/models/post_test.rb
create test/fixtures/posts.yml
...
```
-The default test stub in `test/unit/post_test.rb` looks like this:
+The default test stub in `test/models/post_test.rb` looks like this:
```ruby
require 'test_helper'