Permalink
Browse files

fix test so that it passes

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4009 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 3308236 commit f50a95819b4d220d56c07294c7b9700d0bf48b4e @technoweenie technoweenie committed Mar 22, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/associations_join_model_test.rb
@@ -313,7 +313,7 @@ def test_self_referential_has_many_through
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

0 comments on commit f50a958

Please sign in to comment.