test/tc_schema.rb in adiwg-mdjson_schemas-2.0.0.pre.alpha vs test/tc_schema.rb in adiwg-mdjson_schemas-2.0.0.pre.alpha.1
- old
+ new
@@ -1,8 +1,8 @@
require 'helper.rb'
class TestRootSchema < TestHelper
def test_root_schema
- errors = JSON::Validator.fully_validate(@@schema, @@example + 'mdJson.json', strict: @@strict)
+ errors = JSON::Validator.fully_validate('schema.json', @@example + 'mdJson.json', strict: @@strict)
assert(errors.empty?, errors.join("\n"))
end
end