test/entity_test.rb in ruby-xcdm-0.0.3 vs test/entity_test.rb in ruby-xcdm-0.0.4
- old
+ new
@@ -6,10 +6,11 @@
module XCDM
class EntityTest < Test::Unit::TestCase
def e
- @e ||= Entity.new("Article")
+ s = Schema.new("0.0.1", "4.6")
+ @e ||= Entity.new(s, "Article")
end
def test_initialize
assert_equal "Article", e.name
end