Sha256: 3b76e10b88f7a1440a3b96821d7faa59d9f653849ef8edd3bee950104842a8f8

Contents?: true

Size: 301 Bytes

Versions: 69

Compression:

Stored size: 301 Bytes

Contents

require 'helper.rb'

class TestDuration < TestHelper
    def test_duration
        errors = JSON::Validator.fully_validate('timePeriod.json', @@example + 'duration.json', :fragment => "#/definitions/duration", strict: @@strict, list: true)
        assert(errors.empty?, errors.join("\n"))
    end
end

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
adiwg-mdjson_schemas-2.5.1 test/tc_duration.rb
adiwg-mdjson_schemas-2.5.0 test/tc_duration.rb
adiwg-mdjson_schemas-2.4.9 test/tc_duration.rb
adiwg-mdjson_schemas-2.4.8 test/tc_duration.rb
adiwg-mdjson_schemas-2.4.7 test/tc_duration.rb
adiwg-mdjson_schemas-2.4.5 test/tc_duration.rb
adiwg-mdjson_schemas-2.4.4 test/tc_duration.rb
adiwg-mdjson_schemas-2.4.3 test/tc_duration.rb
adiwg-mdjson_schemas-2.4.2 test/tc_duration.rb
adiwg-mdjson_schemas-2.4.1 test/tc_duration.rb
adiwg-mdjson_schemas-2.4.0 test/tc_duration.rb
adiwg-mdjson_schemas-2.3.2 test/tc_duration.rb
adiwg-mdjson_schemas-2.3.1 test/tc_duration.rb
adiwg-mdjson_schemas-2.3.0 test/tc_duration.rb
adiwg-mdjson_schemas-2.2.0 test/tc_duration.rb
adiwg-mdjson_schemas-2.1.2 test/tc_duration.rb
adiwg-mdjson_schemas-2.1.1 test/tc_duration.rb
adiwg-mdjson_schemas-2.1.0 test/tc_duration.rb
adiwg-mdjson_schemas-2.0.3 test/tc_duration.rb
adiwg-mdjson_schemas-2.0.2 test/tc_duration.rb