aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorEmilio Tagua <miloops@gmail.com>2009-04-29 19:35:21 -0300
committerJeremy Kemper <jeremy@bitsweat.net>2009-04-29 15:46:43 -0700
commitdb892ea77563dadb6fbbd242be78ff87321d0bd1 (patch)
tree43e13e97881a850a801260d49ca658a934ae6bed /activerecord/test
parent7149ddd2a109345f8c48c787b5541b9b31a8a6fa (diff)
downloadrails-db892ea77563dadb6fbbd242be78ff87321d0bd1.tar.gz
rails-db892ea77563dadb6fbbd242be78ff87321d0bd1.tar.bz2
rails-db892ea77563dadb6fbbd242be78ff87321d0bd1.zip
Fix duplicated test name
[#2581 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'activerecord/test')
-rw-r--r--activerecord/test/cases/calculations_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/calculations_test.rb b/activerecord/test/cases/calculations_test.rb
index 56dcdea110..fd455e0864 100644
--- a/activerecord/test/cases/calculations_test.rb
+++ b/activerecord/test/cases/calculations_test.rb
@@ -233,7 +233,7 @@ class CalculationsTest < ActiveRecord::TestCase
assert_equal 8, c['Jadedpixel']
end
- def test_should_group_by_summed_field_with_conditions_and_having
+ def test_should_group_by_summed_field_through_association_and_having
c = companies(:rails_core).companies.sum(:id, :group => :name,
:having => 'sum(id) > 7')
assert_nil c['Leetsoft']