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

This commit is contained in:
Robby Russell
2008-05-14 17:17:24 -07:00
parent 603c853a34
commit 6df995bbf2

View File

@@ -167,6 +167,8 @@ class TextHelperTest < ActionView::TestCase
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