From 3718ccd2a61c2c189913bcfd487912f592fa0660 Mon Sep 17 00:00:00 2001 From: Damien Mathieu <42@dmathieu.com> Date: Thu, 8 Sep 2011 10:21:50 +0200 Subject: remove support of symbols on classify and camelize --- activesupport/test/inflector_test_cases.rb | 7 ------- 1 file changed, 7 deletions(-) (limited to 'activesupport/test/inflector_test_cases.rb') diff --git a/activesupport/test/inflector_test_cases.rb b/activesupport/test/inflector_test_cases.rb index 0cb1f70657..62e0ccd355 100644 --- a/activesupport/test/inflector_test_cases.rb +++ b/activesupport/test/inflector_test_cases.rb @@ -120,13 +120,6 @@ 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", -- cgit v1.2.3 From 6b010c2690de9ffce4878a9471c8adb33d4a21a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Thu, 8 Sep 2011 20:49:08 +0200 Subject: Revert removing gsub and sub from safe buffer. --- activesupport/test/inflector_test_cases.rb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'activesupport/test/inflector_test_cases.rb') 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", -- cgit v1.2.3 From 1934b774067572d9ad298d774ad96ee45a431911 Mon Sep 17 00:00:00 2001 From: Pavan Kumar Sunkara Date: Sun, 6 Nov 2011 19:22:32 +0530 Subject: Added the test case for #3537 --- activesupport/test/inflector_test_cases.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'activesupport/test/inflector_test_cases.rb') diff --git a/activesupport/test/inflector_test_cases.rb b/activesupport/test/inflector_test_cases.rb index 0cb1f70657..e3a343af52 100644 --- a/activesupport/test/inflector_test_cases.rb +++ b/activesupport/test/inflector_test_cases.rb @@ -14,6 +14,7 @@ module InflectorTestCases "fish" => "fish", "jeans" => "jeans", "funky jeans" => "funky jeans", + "my money" => "my money", "category" => "categories", "query" => "queries", -- cgit v1.2.3