Permalink
Browse files

Fix test_has_many_through_polymorphic_has_one on sqlite2 [#3054 state…

…:resolved]

Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
  • Loading branch information...
Jay Pignata authored and jeremy committed Aug 15, 2009
1 parent cb3e669 commit 7213da37cefff7801a61f302a647e337e2313858
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/associations/join_model_test.rb
@@ -381,7 +381,7 @@ def test_has_many_through_has_many_find_by_id
end
def test_has_many_through_polymorphic_has_one
- assert_equal Tagging.find(1,2), authors(:david).tagging
+ assert_equal Tagging.find(1,2).sort_by { |t| t.id }, authors(:david).tagging
end
def test_has_many_through_polymorphic_has_many

0 comments on commit 7213da3

Please sign in to comment.