Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 7213da37cefff7801a61f302a647e337e2313858 1 parent cb3e669
Jay Pignata authored jeremy committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/test/cases/associations/join_model_test.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.