mirror of
https://github.com/github/rails.git
synced 2026-01-29 00:08:15 -05:00
Adding an example test case for pluralize for (y) -> (ies)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user