Skip to content
Browse files

Missed pluralize nil test in [5431].

git-svn-id: 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 07c5182 commit 5b50504f48e610b5938a645ed877a897b5255079 @jeremy jeremy committed Nov 6, 2006
Showing with 1 addition and 0 deletions.
  1. +1 −0 actionpack/test/template/text_helper_test.rb
1 actionpack/test/template/text_helper_test.rb
@@ -113,6 +113,7 @@ def test_pluralization
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"))
def test_auto_link_parsing

0 comments on commit 5b50504

Please sign in to comment.
Something went wrong with that request. Please try again.