From 018cc389d13aba3f4f6072b2e529e05bf380ee0a Mon Sep 17 00:00:00 2001 From: Dan Erikson Date: Sat, 6 Apr 2013 00:01:48 -0600 Subject: Corrected model test directory to be test/models instead of test/unit. --- guides/source/testing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'guides/source') 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' -- cgit v1.2.3