diff options
author | Mark Rushakoff <mark.rushakoff@gmail.com> | 2011-12-07 23:14:02 -0800 |
---|---|---|
committer | Mark Rushakoff <mark.rushakoff@gmail.com> | 2011-12-07 23:14:02 -0800 |
commit | 6f253fb440d4979632ab7763e8cf353f9519cc35 (patch) | |
tree | 79907e570243ca58cd281ecf11667bd50ee9edd9 /activesupport/test | |
parent | a505b1377422a1821798d060301c50abea6afbd4 (diff) | |
download | rails-6f253fb440d4979632ab7763e8cf353f9519cc35.tar.gz rails-6f253fb440d4979632ab7763e8cf353f9519cc35.tar.bz2 rails-6f253fb440d4979632ab7763e8cf353f9519cc35.zip |
Fix inflection regexes for mouse, mice
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/inflector_test_cases.rb | 6 |
1 files changed, 5 insertions, 1 deletions
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 = { |