test/unit/xml_attribute_test.rb in roxml-3.3.1 vs test/unit/xml_attribute_test.rb in roxml-4.0.0
- old
+ new
@@ -1,8 +1,9 @@
require_relative './../test_helper'
+require 'minitest/autorun'
-class TestXMLAttribute < ActiveSupport::TestCase
+class TestXMLAttribute < Minitest::Test
def test_attr_from
# :attr => *
book = Book.from_xml(fixture(:book_text_with_attribute))
assert_equal '0201710897', book.isbn
@@ -34,6 +35,6 @@
def test_wrapped_attr_accessible
b = BookWithWrappedAttr.from_xml(fixture(:book_with_wrapped_attr))
assert_equal "0974514055", b.isbn
end
-end
\ No newline at end of file
+end