From d927265abda1797e86ba6c724f483f94d6b9f51c Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Mon, 28 Dec 2009 13:05:36 -0800 Subject: Fix pg test --- activerecord/test/cases/associations/inverse_associations_test.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'activerecord/test/cases') 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 -- cgit v1.2.3