From 872c5f4380ca348ff9ed19963e827289fb831fdf Mon Sep 17 00:00:00 2001 From: Rick Olson Date: Mon, 16 Jul 2007 20:26:10 +0000 Subject: 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 --- activerecord/test/calculations_test.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'activerecord/test/calculations_test.rb') 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 -- cgit v1.2.3