aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2011-05-07 22:44:33 +0200
committerJosé Valim <jose.valim@gmail.com>2011-05-07 22:45:06 +0200
commit803548c46b32d1be760b21da80477f43b801b8e9 (patch)
treeefae8549c21afdb905b0c1c6fe24e1125330e1e4 /activesupport
parent3a82ff9555adc59e62cf8cebdc90ccad8b26b297 (diff)
downloadrails-803548c46b32d1be760b21da80477f43b801b8e9.tar.gz
rails-803548c46b32d1be760b21da80477f43b801b8e9.tar.bz2
rails-803548c46b32d1be760b21da80477f43b801b8e9.zip
xml_mini_test.rb now runs.
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/xml_mini.rb1
-rw-r--r--activesupport/test/xml_mini_test.rb (renamed from activesupport/test/test_xml_mini.rb)8
2 files changed, 1 insertions, 8 deletions
diff --git a/activesupport/lib/active_support/xml_mini.rb b/activesupport/lib/active_support/xml_mini.rb
index cddfcddb57..dff8a8f4c4 100644
--- a/activesupport/lib/active_support/xml_mini.rb
+++ b/activesupport/lib/active_support/xml_mini.rb
@@ -1,4 +1,5 @@
require 'active_support/core_ext/module/delegation'
+require 'active_support/core_ext/string/inflections'
module ActiveSupport
# = XmlMini
diff --git a/activesupport/test/test_xml_mini.rb b/activesupport/test/xml_mini_test.rb
index 6dbcd1f40b..bf6b0b283d 100644
--- a/activesupport/test/test_xml_mini.rb
+++ b/activesupport/test/xml_mini_test.rb
@@ -16,14 +16,6 @@ module XmlMiniTest
assert_equal "my_key", ActiveSupport::XmlMini.rename_key("my_key", :dasherize => false)
end
- def test_rename_key_camelizes_with_camelize_false
- assert_equal "my_key", ActiveSupport::XmlMini.rename_key("my_key", :camelize => false)
- end
-
- def test_rename_key_camelizes_with_camelize_nil
- assert_equal "my_key", ActiveSupport::XmlMini.rename_key("my_key", :camelize => nil)
- end
-
def test_rename_key_camelizes_with_camelize_true
assert_equal "MyKey", ActiveSupport::XmlMini.rename_key("my_key", :camelize => true)
end