Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #10960 from pacoguzman/fix-build-due-to-10727

Fix build after #10727
  • Loading branch information...
commit 57c51e7bf44fa4e64303c58ce774aad89d4136b6 1 parent 62c1e6c
@rafaelfranca rafaelfranca authored
View
1  activesupport/test/xml_mini/libxml_engine_test.rb
@@ -195,6 +195,7 @@ def test_children_with_blank_text_and_attribute
private
def assert_equal_rexml(xml)
parsed_xml = XmlMini.parse(xml)
+ xml.rewind if xml.respond_to?(:rewind)
hash = XmlMini.with_backend('REXML') { XmlMini.parse(xml) }
assert_equal(hash, parsed_xml)
end
View
1  activesupport/test/xml_mini/libxmlsax_engine_test.rb
@@ -186,6 +186,7 @@ def test_children_with_blank_text
private
def assert_equal_rexml(xml)
parsed_xml = XmlMini.parse(xml)
+ xml.rewind if xml.respond_to?(:rewind)
hash = XmlMini.with_backend('REXML') { XmlMini.parse(xml) }
assert_equal(hash, parsed_xml)
end
View
3  activesupport/test/xml_mini/nokogiri_engine_test.rb
@@ -208,7 +208,8 @@ def test_children_with_blank_text_and_attribute
private
def assert_equal_rexml(xml)
parsed_xml = XmlMini.parse(xml)
- hash = XmlMini.with_backend('REXML') { XmlMini.parse(parsed_xml) }
+ xml.rewind if xml.respond_to?(:rewind)
+ hash = XmlMini.with_backend('REXML') { XmlMini.parse(xml) }
assert_equal(hash, parsed_xml)
end
end
View
1  activesupport/test/xml_mini/nokogirisax_engine_test.rb
@@ -209,6 +209,7 @@ def test_children_with_blank_text_and_attribute
private
def assert_equal_rexml(xml)
parsed_xml = XmlMini.parse(xml)
+ xml.rewind if xml.respond_to?(:rewind)
hash = XmlMini.with_backend('REXML') { XmlMini.parse(xml) }
assert_equal(hash, parsed_xml)
end
View
1  activesupport/test/xml_mini/rexml_engine_test.rb
@@ -30,6 +30,7 @@ def test_parse_from_io
private
def assert_equal_rexml(xml)
parsed_xml = XmlMini.parse(xml)
+ xml.rewind if xml.respond_to?(:rewind)
hash = XmlMini.with_backend('REXML') { XmlMini.parse(xml) }
assert_equal(hash, parsed_xml)
end
Please sign in to comment.
Something went wrong with that request. Please try again.