aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorkennyj <kennyj@gmail.com>2012-09-17 21:21:57 +0900
committerkennyj <kennyj@gmail.com>2012-09-17 21:25:50 +0900
commit3b18f34bdebc85430114075248ae3fa581e0f700 (patch)
tree85834b8f65ab4a5ed04006fd0f287a4a7ffe9a4c /activerecord
parent2a301505ece91b1bf317c6627aaba7ec0cea43e9 (diff)
downloadrails-3b18f34bdebc85430114075248ae3fa581e0f700.tar.gz
rails-3b18f34bdebc85430114075248ae3fa581e0f700.tar.bz2
rails-3b18f34bdebc85430114075248ae3fa581e0f700.zip
Fix warning: method redefine. Testcase name are duplicated.
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/associations/has_many_associations_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/has_many_associations_test.rb b/activerecord/test/cases/associations/has_many_associations_test.rb
index 5edabb4790..4405f34355 100644
--- a/activerecord/test/cases/associations/has_many_associations_test.rb
+++ b/activerecord/test/cases/associations/has_many_associations_test.rb
@@ -46,7 +46,7 @@ class HasManyAssociationsTestForCountWithCountSql < ActiveRecord::TestCase
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"