From 6f253fb440d4979632ab7763e8cf353f9519cc35 Mon Sep 17 00:00:00 2001 From: Mark Rushakoff Date: Wed, 7 Dec 2011 23:14:02 -0800 Subject: Fix inflection regexes for mouse, mice --- activesupport/test/inflector_test_cases.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'activesupport/test') diff --git a/activesupport/test/inflector_test_cases.rb b/activesupport/test/inflector_test_cases.rb index e3a343af52..eb2915c286 100644 --- a/activesupport/test/inflector_test_cases.rb +++ b/activesupport/test/inflector_test_cases.rb @@ -104,7 +104,11 @@ module InflectorTestCases "edge" => "edges", "cow" => "kine", - "database" => "databases" + "database" => "databases", + + # regression tests against improper inflection regexes + "|ice" => "|ices", + "|ouse" => "|ouses" } CamelToUnderscore = { -- cgit v1.2.3