aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/calculations_test.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2016-12-30 21:29:18 +0900
committerRyuta Kamizono <kamipo@gmail.com>2016-12-30 21:29:18 +0900
commitc6dcc37bee7e02066457cbbb4a7f3dbbc22159be (patch)
tree5b15118ef9ce185ff72ecca30e31db26be80b872 /activerecord/test/cases/calculations_test.rb
parent74ac546640487af45e62d599bc85cb30b725ea7f (diff)
downloadrails-c6dcc37bee7e02066457cbbb4a7f3dbbc22159be.tar.gz
rails-c6dcc37bee7e02066457cbbb4a7f3dbbc22159be.tar.bz2
rails-c6dcc37bee7e02066457cbbb4a7f3dbbc22159be.zip
Remove deprecated `#uniq`, `#uniq!`, and `#uniq_value`
Diffstat (limited to 'activerecord/test/cases/calculations_test.rb')
-rw-r--r--activerecord/test/cases/calculations_test.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/activerecord/test/cases/calculations_test.rb b/activerecord/test/cases/calculations_test.rb
index 87e99fb25c..ffd5c1395d 100644
--- a/activerecord/test/cases/calculations_test.rb
+++ b/activerecord/test/cases/calculations_test.rb
@@ -421,10 +421,6 @@ class CalculationsTest < ActiveRecord::TestCase
def test_count_with_distinct
assert_equal 4, Account.select(:credit_limit).distinct.count
-
- assert_deprecated do
- assert_equal 4, Account.select(:credit_limit).uniq.count
- end
end
def test_count_with_aliased_attribute