aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2006-11-06 21:39:16 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2006-11-06 21:39:16 +0000
commit5b50504f48e610b5938a645ed877a897b5255079 (patch)
treec3b56ed8a4434e9543c751b11834a8aa065a2660
parent07c51829ab4d4ce0b44d5463623a34e51c3d9b95 (diff)
downloadrails-5b50504f48e610b5938a645ed877a897b5255079.tar.gz
rails-5b50504f48e610b5938a645ed877a897b5255079.tar.bz2
rails-5b50504f48e610b5938a645ed877a897b5255079.zip
Missed pluralize nil test in [5431].
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5441 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r--actionpack/test/template/text_helper_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/template/text_helper_test.rb b/actionpack/test/template/text_helper_test.rb
index 3be51b6379..43538dd9b1 100644
--- a/actionpack/test/template/text_helper_test.rb
+++ b/actionpack/test/template/text_helper_test.rb
@@ -113,6 +113,7 @@ class TextHelperTest < Test::Unit::TestCase
assert_equal("1,066 counts", pluralize('1,066', "count"))
assert_equal("1.25 counts", pluralize('1.25', "count"))
assert_equal("2 counters", pluralize(2, "count", "counters"))
+ assert_equal("0 counters", pluralize(nil, "count", "counters"))
end
def test_auto_link_parsing