diff options
author | Dan Erikson <derikson3@gmail.com> | 2013-04-06 00:01:48 -0600 |
---|---|---|
committer | Dan Erikson <derikson3@gmail.com> | 2013-04-06 00:01:48 -0600 |
commit | 018cc389d13aba3f4f6072b2e529e05bf380ee0a (patch) | |
tree | c7407243e118090e09d66c767c6dff575fd521bd | |
parent | b75c0bb3785d907b4d811282252f8a684599c15b (diff) | |
download | rails-018cc389d13aba3f4f6072b2e529e05bf380ee0a.tar.gz rails-018cc389d13aba3f4f6072b2e529e05bf380ee0a.tar.bz2 rails-018cc389d13aba3f4f6072b2e529e05bf380ee0a.zip |
Corrected model test directory to be test/models instead of test/unit.
-rw-r--r-- | guides/source/testing.md | 4 |
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' |