test/unit/to_xml_test.rb in roxml-3.2.2 vs test/unit/to_xml_test.rb in roxml-3.3.0

- old
+ new

@@ -39,16 +39,16 @@ class TestToXmlWithBlocks < ActiveSupport::TestCase def test_pagecount_serialized_properly_after_modification b = Book.from_xml(fixture(:book_valid)) xml = xml_fixture(:book_valid) - assert_equal '357', xml.roxml_search('pagecount').first.content + assert_equal '357', ROXML::XML.search(xml, 'pagecount').first.content assert_equal 357, b.pages b.pages = 500 doc = ROXML::XML::Document.new() doc.root = b.to_xml - assert_equal '500', doc.roxml_search('pagecount').first.content + assert_equal '500', ROXML::XML.search(doc, 'pagecount').first.content end end class OctalInteger def self.from_xml(val)