test/entity_test.rb in ruby-xcdm-0.0.8 vs test/entity_test.rb in ruby-xcdm-0.0.9
- old
+ new
@@ -1,17 +1,16 @@
-
-require 'test/unit'
+require 'minitest/autorun'
require 'xcdm/entity'
-require 'turn'
+require 'xcdm/schema'
require 'rexml/document'
module XCDM
- class EntityTest < Test::Unit::TestCase
+ class EntityTest < Minitest::Test
attr_reader :e, :pub
def setup
- s = Schema.new("0.0.1", "4.6")
+ s = XCDM::Schema.new("0.0.1", "4.6")
@pub ||= Entity.new(s, "Publication", abstract: true)
@e ||= Entity.new(s, "Article", parent: "Publication")
end
def test_initialize