aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/categories_posts.yml
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2010-10-12 18:16:31 +0100
committerJon Leighton <j@jonathanleighton.com>2010-10-12 18:16:31 +0100
commitc37a5e7acde436b359043a67b7daace8be6f08c6 (patch)
treedc89f219e6aa0be327a35c921ed8b9f005882902 /activerecord/test/fixtures/categories_posts.yml
parent56064aa4b014233ae54413628679b7f7fa5d6f77 (diff)
downloadrails-c37a5e7acde436b359043a67b7daace8be6f08c6.tar.gz
rails-c37a5e7acde436b359043a67b7daace8be6f08c6.tar.bz2
rails-c37a5e7acde436b359043a67b7daace8be6f08c6.zip
Add a commented, failing test for using a habtm in a has many through association. I want to refactor how aliasing works first.
Diffstat (limited to 'activerecord/test/fixtures/categories_posts.yml')
-rw-r--r--activerecord/test/fixtures/categories_posts.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/categories_posts.yml b/activerecord/test/fixtures/categories_posts.yml
index 9b67ab4fa4..3b41510cb1 100644
--- a/activerecord/test/fixtures/categories_posts.yml
+++ b/activerecord/test/fixtures/categories_posts.yml
@@ -21,3 +21,11 @@ sti_test_sti_habtm:
general_hello:
category_id: 1
post_id: 4
+
+general_misc_by_bob:
+ category_id: 1
+ post_id: 8
+
+technology_misc_by_bob:
+ category_id: 2
+ post_id: 8