1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Use xml instead already parsed xml

This commit is contained in:
Paco Guzman 2013-06-16 00:28:16 +02:00
parent eabbfb2348
commit e04d9538ea

View file

@ -208,7 +208,7 @@ class NokogiriEngineTest < ActiveSupport::TestCase
private
def assert_equal_rexml(xml)
parsed_xml = XmlMini.parse(xml)
hash = XmlMini.with_backend('REXML') { XmlMini.parse(parsed_xml) }
hash = XmlMini.with_backend('REXML') { XmlMini.parse(xml) }
assert_equal(hash, parsed_xml)
end
end