diff options
author | kennyj <kennyj@gmail.com> | 2012-09-17 21:21:57 +0900 |
---|---|---|
committer | kennyj <kennyj@gmail.com> | 2012-09-17 21:25:50 +0900 |
commit | 3b18f34bdebc85430114075248ae3fa581e0f700 (patch) | |
tree | 85834b8f65ab4a5ed04006fd0f287a4a7ffe9a4c /activerecord/test | |
parent | 2a301505ece91b1bf317c6627aaba7ec0cea43e9 (diff) | |
download | rails-3b18f34bdebc85430114075248ae3fa581e0f700.tar.gz rails-3b18f34bdebc85430114075248ae3fa581e0f700.tar.bz2 rails-3b18f34bdebc85430114075248ae3fa581e0f700.zip |
Fix warning: method redefine. Testcase name are duplicated.
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/associations/has_many_associations_test.rb | 2 |
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" |