aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/inflector_test.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-04-07 06:19:10 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-04-07 06:19:10 +0000
commit38a0b5b427371b53c0d0f159cf5b3806f16aab30 (patch)
tree62b1d9f8e835ad52633eeee2a1e498277eaa3e9a /activesupport/test/inflector_test.rb
parent808d76a858712bab53f8fecb01694347ce6c1974 (diff)
downloadrails-38a0b5b427371b53c0d0f159cf5b3806f16aab30.tar.gz
rails-38a0b5b427371b53c0d0f159cf5b3806f16aab30.tar.bz2
rails-38a0b5b427371b53c0d0f159cf5b3806f16aab30.zip
Fixed inflection of perspectives and similar words #1045 [thijs@vandervossen.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1101 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/test/inflector_test.rb')
-rw-r--r--activesupport/test/inflector_test.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/activesupport/test/inflector_test.rb b/activesupport/test/inflector_test.rb
index ffadb5bd96..fca4072ad9 100644
--- a/activesupport/test/inflector_test.rb
+++ b/activesupport/test/inflector_test.rb
@@ -57,12 +57,14 @@ class InflectorTest < Test::Unit::TestCase
"old_news" => "old_news",
"news" => "news",
- "series" => "series"
+ "series" => "series",
+
+ "perspective" => "perspectives"
}
CamelToUnderscore = {
- "Product" => "product",
- "SpecialGuest" => "special_guest",
+ "Product" => "product",
+ "SpecialGuest" => "special_guest",
"ApplicationController" => "application_controller"
}