diff options
author | Steve Klabnik <steve@steveklabnik.com> | 2012-12-21 15:54:13 -0800 |
---|---|---|
committer | Steve Klabnik <steve@steveklabnik.com> | 2012-12-21 15:54:13 -0800 |
commit | 10c0a3bd113c41f44fc025d2d042da95e9d8ea1f (patch) | |
tree | e2fa9c5fc8e13ce45dbab83f92c1c0095cb63e9f /activesupport/test | |
parent | bc8d2f6a628dedeb091e4262a3a1b59d0749b1a6 (diff) | |
parent | b02ebe73cf0d24139efbcb00b7c9eb6235794e58 (diff) | |
download | rails-10c0a3bd113c41f44fc025d2d042da95e9d8ea1f.tar.gz rails-10c0a3bd113c41f44fc025d2d042da95e9d8ea1f.tar.bz2 rails-10c0a3bd113c41f44fc025d2d042da95e9d8ea1f.zip |
Merge pull request #8471 from kytrinyx/refactor-xml-to-hash
WIP Refactor xml conversion to hash
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/core_ext/hash_ext_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/hash_ext_test.rb b/activesupport/test/core_ext/hash_ext_test.rb index c378dcd01d..5fc81ba6fc 100644 --- a/activesupport/test/core_ext/hash_ext_test.rb +++ b/activesupport/test/core_ext/hash_ext_test.rb @@ -1330,7 +1330,7 @@ class HashToXmlTest < ActiveSupport::TestCase def test_empty_string_works_for_typecast_xml_value assert_nothing_raised do - Hash.__send__(:typecast_xml_value, "") + ActiveSupport::XMLConverter.new("").to_h end end |