mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Fix duplicated test name
[#2581 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
This commit is contained in:
committed by
Jeremy Kemper
parent
7149ddd2a1
commit
db892ea775
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user