aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/associations_join_model_test.rb
diff options
context:
space:
mode:
authorRick Olson <technoweenie@gmail.com>2006-03-22 01:03:25 +0000
committerRick Olson <technoweenie@gmail.com>2006-03-22 01:03:25 +0000
commitf50a95819b4d220d56c07294c7b9700d0bf48b4e (patch)
treeeca00c17c8f0a5d106a3cae2a06eaba2f6d29653 /activerecord/test/associations_join_model_test.rb
parent330823687bbae1c05af6545912377d317300c1bb (diff)
downloadrails-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
Diffstat (limited to 'activerecord/test/associations_join_model_test.rb')
-rw-r--r--activerecord/test/associations_join_model_test.rb2
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