Skip to content
This repository
Browse code

Address an error for test_has_many_through_polymorphic_has_one

with Oracle for the 3-1-stable branch
  • Loading branch information...
commit 53db676a5e7b58ecbb658b98d95b743a6fdb2afb 1 parent bef0b35
Yasuo Honda authored March 29, 2012
2  activerecord/test/cases/associations/join_model_test.rb
@@ -403,7 +403,7 @@ def test_has_many_through_has_many_find_by_id
403 403
   end
404 404
 
405 405
   def test_has_many_through_polymorphic_has_one
406  
-    assert_equal Tagging.find(1,2).sort_by { |t| t.id }, authors(:david).tagging.order(:id)
  406
+    assert_equal Tagging.find(1,2).sort_by { |t| t.id }, authors(:david).tagging.order('taggings.id')
407 407
   end
408 408
 
409 409
   def test_has_many_through_polymorphic_has_many

0 notes on commit 53db676

Please sign in to comment.
Something went wrong with that request. Please try again.