diff options
-rw-r--r-- | guides/source/testing.md | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/guides/source/testing.md b/guides/source/testing.md index b279463ea8..8a8befc0ae 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -144,11 +144,9 @@ Unit Testing your Models In Rails, unit tests are what you write to test your models. -For this guide we will be using Rails _scaffolding_. It will create the model, a migration, controller and views for the new resource in a single operation. It will also create a full test suite following Rails best practices. We will be using examples from this generated code and will be supplementing it with additional examples where necessary. +For this guide we will be using the application we built in the [Getting Started with Rails](getting_started.html) guide. -NOTE: For more information on Rails _scaffolding_, refer to [Getting Started with Rails](getting_started.html) - -When you use `rails generate scaffold`, for a resource among other things it creates a test stub in the `test/models` directory: +If you remember when you used the `rails generate scaffold` command from earlier. We created our first resource among other things it created a test stub in the `test/models` directory: ```bash $ bin/rails generate scaffold article title:string body:text |