diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-09-17 05:28:35 -0700 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-09-17 05:28:35 -0700 |
commit | a036dc87e1ce4c392610d5a5ef64d81a6fc38d05 (patch) | |
tree | 85834b8f65ab4a5ed04006fd0f287a4a7ffe9a4c /activerecord | |
parent | 2a301505ece91b1bf317c6627aaba7ec0cea43e9 (diff) | |
parent | 3b18f34bdebc85430114075248ae3fa581e0f700 (diff) | |
download | rails-a036dc87e1ce4c392610d5a5ef64d81a6fc38d05.tar.gz rails-a036dc87e1ce4c392610d5a5ef64d81a6fc38d05.tar.bz2 rails-a036dc87e1ce4c392610d5a5ef64d81a6fc38d05.zip |
Merge pull request #7666 from kennyj/fix_9fa3f102813eeeec440abd75870dfa7b23835665
Fix warning: method redefine. Testcase name are duplicated.
Diffstat (limited to 'activerecord')
-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" |