diff options
author | Rick Olson <technoweenie@gmail.com> | 2006-03-22 01:03:25 +0000 |
---|---|---|
committer | Rick Olson <technoweenie@gmail.com> | 2006-03-22 01:03:25 +0000 |
commit | f50a95819b4d220d56c07294c7b9700d0bf48b4e (patch) | |
tree | eca00c17c8f0a5d106a3cae2a06eaba2f6d29653 | |
parent | 330823687bbae1c05af6545912377d317300c1bb (diff) | |
download | rails-f50a95819b4d220d56c07294c7b9700d0bf48b4e.tar.gz rails-f50a95819b4d220d56c07294c7b9700d0bf48b4e.tar.bz2 rails-f50a95819b4d220d56c07294c7b9700d0bf48b4e.zip |
fix test so that it passes
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4009 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-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 |