diff options
-rw-r--r-- | activerecord/test/associations_join_model_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |