diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-12-28 13:05:36 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-12-28 13:05:36 -0800 |
commit | d927265abda1797e86ba6c724f483f94d6b9f51c (patch) | |
tree | 0525da94ff9d7ec560bf6e8994d06bac6a799ace /activerecord/test | |
parent | 9fe42232f14eb44f06c655e87b54ff30cee0fe44 (diff) | |
download | rails-d927265abda1797e86ba6c724f483f94d6b9f51c.tar.gz rails-d927265abda1797e86ba6c724f483f94d6b9f51c.tar.bz2 rails-d927265abda1797e86ba6c724f483f94d6b9f51c.zip |
Fix pg test
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/associations/inverse_associations_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/inverse_associations_test.rb b/activerecord/test/cases/associations/inverse_associations_test.rb index 457c4da9bf..1d7604f52b 100644 --- a/activerecord/test/cases/associations/inverse_associations_test.rb +++ b/activerecord/test/cases/associations/inverse_associations_test.rb @@ -434,7 +434,8 @@ class InverseBelongsToTests < ActiveRecord::TestCase end def test_child_instance_should_be_shared_with_replaced_via_method_parent - f = Face.find(:first) + f = faces(:trusting) + assert_not_nil f.man m = Man.new(:name => 'Charles') f.man.replace(m) assert_not_nil m.face |