Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #7666 from kennyj/fix_9fa3f102813eeeec440abd75870d…

…fa7b23835665

Fix warning: method redefine. Testcase name are duplicated.
  • Loading branch information...
commit a036dc87e1ce4c392610d5a5ef64d81a6fc38d05 2 parents 2a30150 + 3b18f34
@rafaelfranca rafaelfranca authored
View
2  activerecord/test/cases/associations/has_many_associations_test.rb
@@ -46,7 +46,7 @@ def test_should_fail
end
end
-class HasManyAssociationsTestForCountWithFinderSql < ActiveRecord::TestCase
+class HasManyAssociationsTestForCountWithVariousFinderSqls < ActiveRecord::TestCase
class Invoice < ActiveRecord::Base
ActiveSupport::Deprecation.silence do
has_many :custom_line_items, :class_name => 'LineItem', :finder_sql => "SELECT DISTINCT line_items.amount from line_items"
Please sign in to comment.
Something went wrong with that request. Please try again.