aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/inflector_test_cases.rb
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2011-09-08 20:49:08 +0200
committerJosé Valim <jose.valim@gmail.com>2011-09-08 20:54:30 +0200
commit6b010c2690de9ffce4878a9471c8adb33d4a21a1 (patch)
treeb6f6053d93b64672334701a6ff3d5aae5d41dfa8 /activesupport/test/inflector_test_cases.rb
parent0d254915819a9e5711895e410e1597177216c903 (diff)
downloadrails-6b010c2690de9ffce4878a9471c8adb33d4a21a1.tar.gz
rails-6b010c2690de9ffce4878a9471c8adb33d4a21a1.tar.bz2
rails-6b010c2690de9ffce4878a9471c8adb33d4a21a1.zip
Revert removing gsub and sub from safe buffer.
Diffstat (limited to 'activesupport/test/inflector_test_cases.rb')
-rw-r--r--activesupport/test/inflector_test_cases.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/activesupport/test/inflector_test_cases.rb b/activesupport/test/inflector_test_cases.rb
index 62e0ccd355..0cb1f70657 100644
--- a/activesupport/test/inflector_test_cases.rb
+++ b/activesupport/test/inflector_test_cases.rb
@@ -120,6 +120,13 @@ module InflectorTestCases
"area51_controller" => "area51Controller"
}
+ SymbolToLowerCamel = {
+ :product => 'product',
+ :special_guest => 'specialGuest',
+ :application_controller => 'applicationController',
+ :area51_controller => 'area51Controller'
+ }
+
CamelToUnderscoreWithoutReverse = {
"HTMLTidy" => "html_tidy",
"HTMLTidyGenerator" => "html_tidy_generator",