test/unit/xml_object_test.rb in roxml-2.5.1 vs test/unit/xml_object_test.rb in roxml-2.5.2
- old
+ new
@@ -14,10 +14,10 @@
include ROXML
xml_reader :cart, EmptyCart, :required => true
end
-class TestXMLObject < Test::Unit::TestCase
+class TestXMLObject < ActiveSupport::TestCase
# Test book with text and attribute
def test_book_author_text_attribute
book = BookWithAuthorTextAttribute.from_xml(fixture(:book_text_with_attribute))
assert_equal("primary",book.author.role)
assert_equal("David Thomas",book.author.text)