Skip to content

Commit

Permalink
Missed pluralize nil test in [5431].
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5441 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
jeremy committed Nov 6, 2006
1 parent 07c5182 commit 5b50504
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions actionpack/test/template/text_helper_test.rb
Expand Up @@ -113,6 +113,7 @@ def test_pluralization
assert_equal("1,066 counts", pluralize('1,066', "count")) assert_equal("1,066 counts", pluralize('1,066', "count"))
assert_equal("1.25 counts", pluralize('1.25', "count")) assert_equal("1.25 counts", pluralize('1.25', "count"))
assert_equal("2 counters", pluralize(2, "count", "counters")) assert_equal("2 counters", pluralize(2, "count", "counters"))
assert_equal("0 counters", pluralize(nil, "count", "counters"))
end end


def test_auto_link_parsing def test_auto_link_parsing
Expand Down

0 comments on commit 5b50504

Please sign in to comment.