1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix pg test

This commit is contained in:
Jeremy Kemper 2009-12-28 13:05:36 -08:00
parent 9fe42232f1
commit d927265abd

View file

@ -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