diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2012-02-17 03:54:34 -0800 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2012-02-17 03:54:34 -0800 |
commit | 1a0bc2ab7fbade57a24e3daa3512e4167641410d (patch) | |
tree | 81d2e485e83b167952e9cde7b84dd895f230d89d /activesupport | |
parent | 45503ecbb998a317a266e66cf8c55bfe55951719 (diff) | |
parent | c17608fe8fd8f0c7f8fdb1485c401fe344855432 (diff) | |
download | rails-1a0bc2ab7fbade57a24e3daa3512e4167641410d.tar.gz rails-1a0bc2ab7fbade57a24e3daa3512e4167641410d.tar.bz2 rails-1a0bc2ab7fbade57a24e3daa3512e4167641410d.zip |
Merge pull request #5071 from arunagw/fix_failing_test_ruby187_p358
Fix failing test ruby187 p358
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/test/core_ext/hash_ext_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/test/core_ext/hash_ext_test.rb b/activesupport/test/core_ext/hash_ext_test.rb index eb8ed761da..56dfeb68cc 100644 --- a/activesupport/test/core_ext/hash_ext_test.rb +++ b/activesupport/test/core_ext/hash_ext_test.rb @@ -1058,8 +1058,8 @@ class HashToXmlTest < Test::Unit::TestCase :pre_escaped_string => 'First & Last Name' }.stringify_keys - expected_xml = '<person><bare-string>First & Last Name</bare-string><pre-escaped-string>First &amp; Last Name</pre-escaped-string></person>' - assert_equal expected_xml, hash.to_xml(@xml_options) + assert hash.to_xml(@xml_options).include?("<bare-string>First & Last Name</bare-string>") + assert hash.to_xml(@xml_options).include?("<pre-escaped-string>First &amp; Last Name</pre-escaped-string>") end def test_unescaping_from_xml |