aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures
diff options
context:
space:
mode:
authorPikachuEXE <pikachuexe@gmail.com>2013-01-30 12:55:37 +0800
committerAdam Gamble <adamgamble@gmail.com>2013-03-14 12:45:56 -0500
commit7fc339059cbace0af8f8dbfb5c68db3f5dffd5a3 (patch)
treef0e12b9ffef95ef21bb8b6911e6091781e47fb73 /activerecord/test/fixtures
parent36f7732e820ce4d3c4a46bd0a1b15fd8902467b3 (diff)
downloadrails-7fc339059cbace0af8f8dbfb5c68db3f5dffd5a3.tar.gz
rails-7fc339059cbace0af8f8dbfb5c68db3f5dffd5a3.tar.bz2
rails-7fc339059cbace0af8f8dbfb5c68db3f5dffd5a3.zip
+ Add test for auto timestamps update of both old & new parent records
Diffstat (limited to 'activerecord/test/fixtures')
-rw-r--r--activerecord/test/fixtures/toys.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/toys.yml b/activerecord/test/fixtures/toys.yml
index 037e335e0a..07ed75e98e 100644
--- a/activerecord/test/fixtures/toys.yml
+++ b/activerecord/test/fixtures/toys.yml
@@ -2,3 +2,7 @@ bone:
toy_id: 1
name: Bone
pet_id: 1
+doll:
+ toy_id: 2
+ name: Doll
+ pet_id: 2