From 16e7f2f809c586d2d9a27c2b57395350b596e0b7 Mon Sep 17 00:00:00 2001 From: Wes Morgan Date: Sat, 25 Feb 2012 14:14:38 -0700 Subject: fix inflector bug where -ice gets pluralized into -ouse This should happen for mouse or louse, but not slice or pumice. --- activesupport/test/inflector_test_cases.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'activesupport/test') diff --git a/activesupport/test/inflector_test_cases.rb b/activesupport/test/inflector_test_cases.rb index 809b8b46c9..a284636f75 100644 --- a/activesupport/test/inflector_test_cases.rb +++ b/activesupport/test/inflector_test_cases.rb @@ -109,7 +109,9 @@ module InflectorTestCases # regression tests against improper inflection regexes "|ice" => "|ices", - "|ouse" => "|ouses" + "|ouse" => "|ouses", + "slice" => "slices", + "police" => "police" } CamelToUnderscore = { -- cgit v1.2.3