Skip to content
Browse files

Merge pull request #7666 from kennyj/fix_9fa3f102813eeeec440abd75870d…

…fa7b23835665

Fix warning: method redefine. Testcase name are duplicated.
  • Loading branch information...
1 parent 2e1872a commit 65d707607a2f086c4537285653a6d43a68a8805c @rafaelfranca rafaelfranca committed with sikachu
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/associations/has_many_associations_test.rb
View
2 activerecord/test/cases/associations/has_many_associations_test.rb
@@ -42,7 +42,7 @@ def test_should_fail
end
end
-class HasManyAssociationsTestForCountWithFinderSql < ActiveRecord::TestCase
+class HasManyAssociationsTestForCountWithVariousFinderSqls < ActiveRecord::TestCase
class Invoice < ActiveRecord::Base
has_many :custom_line_items, :class_name => 'LineItem', :finder_sql => "SELECT DISTINCT line_items.amount from line_items"
has_many :custom_full_line_items, :class_name => 'LineItem', :finder_sql => "SELECT line_items.invoice_id, line_items.amount from line_items"

0 comments on commit 65d7076

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