diff options
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/calculations_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/calculations_test.rb b/activerecord/test/cases/calculations_test.rb index 840920ccb6..f1e35d6ab9 100644 --- a/activerecord/test/cases/calculations_test.rb +++ b/activerecord/test/cases/calculations_test.rb @@ -478,7 +478,7 @@ class CalculationsTest < ActiveRecord::TestCase end def test_should_count_with_manual_distinct_select_and_distinct - assert_equal 4, Account.select("DISTINCT accounts.firm_id").distinct(:id).count + assert_equal 4, Account.select("DISTINCT accounts.firm_id").distinct(true).count end def test_should_count_manual_select_with_group_with_count_all |