From f50a95819b4d220d56c07294c7b9700d0bf48b4e Mon Sep 17 00:00:00 2001 From: Rick Olson Date: Wed, 22 Mar 2006 01:03:25 +0000 Subject: [PATCH] fix test so that it passes git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4009 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/test/associations_join_model_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activerecord/test/associations_join_model_test.rb b/activerecord/test/associations_join_model_test.rb index fc7a16cc8d..08b460995e 100644 --- a/activerecord/test/associations_join_model_test.rb +++ b/activerecord/test/associations_join_model_test.rb @@ -313,7 +313,7 @@ class AssociationsJoinModelTest < Test::Unit::TestCase def test_add_to_self_referential_has_many_through new_author = Author.create(:name => "Bob") authors(:david).author_favorites.create :favorite_author => new_author - assert_equal [new_author, authors(:mary)], authors(:david).reload.favorite_authors + assert_equal new_author, authors(:david).reload.favorite_authors.first end private