aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source
diff options
context:
space:
mode:
authorSebastian Martinez <sebastian@wyeworks.com>2011-05-10 16:55:32 -0300
committerSebastian Martinez <sebastian@wyeworks.com>2011-05-10 16:55:32 -0300
commit177f7fa7b1976524d8f44aa93cc7c7983f4a5045 (patch)
treec66141964724ab65dbf8b3b6e5de9bc6ee297c15 /railties/guides/source
parent8567ab90981d36dc6f63f90d502bf022d0d1bb68 (diff)
downloadrails-177f7fa7b1976524d8f44aa93cc7c7983f4a5045.tar.gz
rails-177f7fa7b1976524d8f44aa93cc7c7983f4a5045.tar.bz2
rails-177f7fa7b1976524d8f44aa93cc7c7983f4a5045.zip
impact guides with no CSV fixture support
Diffstat (limited to 'railties/guides/source')
-rw-r--r--railties/guides/source/testing.textile4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/testing.textile b/railties/guides/source/testing.textile
index efa2bbdca6..38b8d0d521 100644
--- a/railties/guides/source/testing.textile
+++ b/railties/guides/source/testing.textile
@@ -54,7 +54,7 @@ For good tests, you'll need to give some thought to setting up test data. In Rai
h5. What are Fixtures?
-_Fixtures_ is a fancy word for sample data. Fixtures allow you to populate your testing database with predefined data before your tests run. Fixtures are database independent and assume one of two formats: *YAML* or *CSV*. In this guide, we will use *YAML*, which is the preferred format.
+_Fixtures_ is a fancy word for sample data. Fixtures allow you to populate your testing database with predefined data before your tests run. Fixtures are database independent and assume a single format: *YAML*.
You'll find fixtures under your +test/fixtures+ directory. When you run +rails generate model+ to create a new model, fixture stubs will be automatically created and placed in this directory.
@@ -81,7 +81,7 @@ Each fixture is given a name followed by an indented list of colon-separated key
h5. ERB'in It Up
-ERB allows you to embed ruby code within templates. Both the YAML and CSV fixture formats are pre-processed with ERB when you load fixtures. This allows you to use Ruby to help you generate some sample data.
+ERB allows you to embed ruby code within templates. YAML fixture format is pre-processed with ERB when you load fixtures. This allows you to use Ruby to help you generate some sample data.
<erb>
<% earth_size = 20 %>