aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2014-12-20 15:10:28 -0800
committerZachary Scott <e@zzak.io>2014-12-20 15:10:28 -0800
commitbc24f19686d512a40f12473c1458a243bbf097e7 (patch)
tree351b92afdf90eac5e1248dfd99cbe4335ba99266 /guides/source
parent356e95c009a3108e99182d8666de9e36facf3380 (diff)
downloadrails-bc24f19686d512a40f12473c1458a243bbf097e7.tar.gz
rails-bc24f19686d512a40f12473c1458a243bbf097e7.tar.bz2
rails-bc24f19686d512a40f12473c1458a243bbf097e7.zip
Make sure this section is rendered as a `NOTE` and remove redundant sentence.
[ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/testing.md6
1 files changed, 1 insertions, 5 deletions
diff --git a/guides/source/testing.md b/guides/source/testing.md
index 42b493fb73..6688d48a8b 100644
--- a/guides/source/testing.md
+++ b/guides/source/testing.md
@@ -100,11 +100,7 @@ one:
Notice the `category` key of the `one` article found in `fixtures/articles.yml` has a value of `about`. This tells Rails to load the category `about` found in `fixtures/categories.yml`.
-Note: For associations to reference one another by name, you cannot specify the `id:`
- attribute on the fixtures. Rails will auto assign a primary key to be consistent between
- runs. If you manually specify an `id:` attribute, this behavior will not work. For more
- information on this association behavior please read the
- [Fixtures API documentation](http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html).
+NOTE: For associations to reference one another by name, you cannot specify the `id:` attribute on the associated fixtures. Rails will auto assign a primary key to be consistent between runs. For more information on this association behavior please read the [Fixtures API documentation](http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html).
#### ERB'in It Up