Permalink
Browse files

Adding an example test case for pluralize for (y) -> (ies)

  • Loading branch information...
1 parent 603c853 commit 6df995bbf2f0fcb26b7a1ba8d4e41ed9de77b6c8 @robbyrussell robbyrussell committed May 15, 2008
Showing with 2 additions and 0 deletions.
  1. +2 −0 actionpack/test/template/text_helper_test.rb
@@ -167,6 +167,8 @@ def test_pluralization
assert_equal("0 counters", pluralize(nil, "count", "counters"))
assert_equal("2 people", pluralize(2, "person"))
assert_equal("10 buffaloes", pluralize(10, "buffalo"))
+ assert_equal("1 berry", pluralize(1, "berry"))
+ assert_equal("12 berries", pluralize(12, "berry"))
end
def test_auto_link_parsing

2 comments on commit 6df995b

Contributor

rsl replied May 15, 2008

I guess someone just got their commit for caboose fest.

Member

josh replied May 15, 2008

I committed it for Robby. I was just to lazy to “signoff” because it was a pull request.

Please sign in to comment.