aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/taggings.yml
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2011-03-05 20:10:24 +0000
committerJon Leighton <j@jonathanleighton.com>2011-03-05 20:10:24 +0000
commitddf83d14f1c7ddae07a285a8ad7c45f652edc843 (patch)
treef46cb89576a6267e6a501acec783ee12c1805a89 /activerecord/test/fixtures/taggings.yml
parent4206eff1895dccadcbec471798bfbd129404cc94 (diff)
downloadrails-ddf83d14f1c7ddae07a285a8ad7c45f652edc843.tar.gz
rails-ddf83d14f1c7ddae07a285a8ad7c45f652edc843.tar.bz2
rails-ddf83d14f1c7ddae07a285a8ad7c45f652edc843.zip
Add a test for STI on the through where the through is nested, and change the code which support this
Diffstat (limited to 'activerecord/test/fixtures/taggings.yml')
-rw-r--r--activerecord/test/fixtures/taggings.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/taggings.yml b/activerecord/test/fixtures/taggings.yml
index a337cce019..d339c12b25 100644
--- a/activerecord/test/fixtures/taggings.yml
+++ b/activerecord/test/fixtures/taggings.yml
@@ -66,3 +66,13 @@ other_by_mary_blue:
taggable_id: 11
taggable_type: Post
comment: first
+
+special_comment_rating:
+ id: 12
+ taggable_id: 2
+ taggable_type: Rating
+
+normal_comment_rating:
+ id: 13
+ taggable_id: 1
+ taggable_type: Rating