aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/xml_mini/rexml_engine_test.rb
diff options
context:
space:
mode:
authorPaco Guzman <pacoguzmanp@gmail.com>2013-05-22 15:35:47 +0200
committerPaco Guzman <pacoguzmanp@gmail.com>2013-05-22 15:35:47 +0200
commit74c79104b9b957ce591b03f32e02eed3400747fd (patch)
treeeaecdb8adcbcc630819422d54bb718b34ea40f71 /activesupport/test/xml_mini/rexml_engine_test.rb
parent2d6b71c2d5c456f28d829cd44a3f5bf5495cd669 (diff)
downloadrails-74c79104b9b957ce591b03f32e02eed3400747fd.tar.gz
rails-74c79104b9b957ce591b03f32e02eed3400747fd.tar.bz2
rails-74c79104b9b957ce591b03f32e02eed3400747fd.zip
Compare with the parsed result from REXML backend
Diffstat (limited to 'activesupport/test/xml_mini/rexml_engine_test.rb')
-rw-r--r--activesupport/test/xml_mini/rexml_engine_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/xml_mini/rexml_engine_test.rb b/activesupport/test/xml_mini/rexml_engine_test.rb
index 70a3b918fd..0f1187db57 100644
--- a/activesupport/test/xml_mini/rexml_engine_test.rb
+++ b/activesupport/test/xml_mini/rexml_engine_test.rb
@@ -30,7 +30,7 @@ class REXMLEngineTest < ActiveSupport::TestCase
private
def assert_equal_rexml(xml)
parsed_xml = XmlMini.parse(xml)
- hash = XmlMini.with_backend('REXML') { parsed_xml }
+ hash = XmlMini.with_backend('REXML') { XmlMini.parse(xml) }
assert_equal(hash, parsed_xml)
end
end