aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/calculations_test.rb
diff options
context:
space:
mode:
authorRick Olson <technoweenie@gmail.com>2007-07-16 20:26:10 +0000
committerRick Olson <technoweenie@gmail.com>2007-07-16 20:26:10 +0000
commit872c5f4380ca348ff9ed19963e827289fb831fdf (patch)
tree47f486fb23a24dfaba9b16cf6c87d16d751c8f52 /activerecord/test/calculations_test.rb
parent4ef5af8d4ddad82295920cc7d83fba6cbb10ad71 (diff)
downloadrails-872c5f4380ca348ff9ed19963e827289fb831fdf.tar.gz
rails-872c5f4380ca348ff9ed19963e827289fb831fdf.tar.bz2
rails-872c5f4380ca348ff9ed19963e827289fb831fdf.zip
Remove deprecated count(conditions=nil, joins=nil) usage. Closes #8993 [lifofifo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/calculations_test.rb')
-rw-r--r--activerecord/test/calculations_test.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/activerecord/test/calculations_test.rb b/activerecord/test/calculations_test.rb
index bf34beb702..faa86c43f2 100644
--- a/activerecord/test/calculations_test.rb
+++ b/activerecord/test/calculations_test.rb
@@ -233,10 +233,6 @@ class CalculationsTest < Test::Unit::TestCase
assert_equal 4, Account.count(:distinct => true, :include => :firm, :select => :credit_limit)
end
- def test_deprecated_count_with_string_parameters
- assert_deprecated('count') { Account.count('credit_limit > 50') }
- end
-
def test_count_with_no_parameters_isnt_deprecated
assert_not_deprecated { Account.count }
end