Permalink
Browse files

Fix pg test

  • Loading branch information...
1 parent 9fe4223 commit d927265abda1797e86ba6c724f483f94d6b9f51c @jeremy jeremy committed Dec 28, 2009
Showing with 2 additions and 1 deletion.
  1. +2 −1 activerecord/test/cases/associations/inverse_associations_test.rb
@@ -434,7 +434,8 @@ def test_child_instance_should_be_shared_with_replaced_via_accessor_parent
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

0 comments on commit d927265

Please sign in to comment.