diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-07-02 05:14:24 -0700 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-07-02 05:14:24 -0700 |
commit | 044e769b423cf31c75c43c2b2b45fcb26fd82873 (patch) | |
tree | 2f8b2c0ab60771d3c7d0964dd3c08c30770c1444 | |
parent | 20b3704524d5f57b4ad51c6278519ad65a7a7e64 (diff) | |
parent | a028b16db88c3634189bbf5c282b7d71decaf71d (diff) | |
download | rails-044e769b423cf31c75c43c2b2b45fcb26fd82873.tar.gz rails-044e769b423cf31c75c43c2b2b45fcb26fd82873.tar.bz2 rails-044e769b423cf31c75c43c2b2b45fcb26fd82873.zip |
Merge pull request #11244 from ccarruitero/testing-guide
update test names in testing guide [ci-skip]
-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 416a8b592f..62c9835fa4 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -92,7 +92,7 @@ user_<%= n %>: #### Fixtures in Action -Rails by default automatically loads all fixtures from the `test/fixtures` folder for your unit and functional test. Loading involves three steps: +Rails by default automatically loads all fixtures from the `test/fixtures` folder for your models and controllers test. Loading involves three steps: * Remove any existing data from the table corresponding to the fixture * Load the fixture data into the table @@ -116,7 +116,7 @@ email(david.girlfriend.email, david.location_tonight) Unit Testing your Models ------------------------ -In Rails, unit tests are what you write to test your models. +In Rails, models 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. I will be using examples from this generated code and will be supplementing it with additional examples where necessary. |