Sha256: 023ce65d559e1bc3f8fa62ac9057c92e86be6d82e1cc822d2f4d3a11525137b6
Contents?: true
Size: 398 Bytes
Versions: 4
Compression:
Stored size: 398 Bytes
Contents
require File.expand_path('../test_helper', __FILE__) class RelativeDefinitionTest < Minitest::Test def test_definition_schema assert_valid schema_fixture_path('definition_schema.json'), {"a" => 5} end def test_relative_definition schema = schema_fixture_path('relative_definition_schema.json') assert_valid schema, {"a" => 5} refute_valid schema, {"a" => "foo"} end end
Version data entries
4 entries across 4 versions & 2 rubygems