Sha256: 23599f3abffaf7660a2aac12bb087695d0edce435ef332b6936aa8447ba361d8
Contents?: true
Size: 733 Bytes
Versions: 31
Compression:
Stored size: 733 Bytes
Contents
require 'helper.rb' class TestEntity < TestHelper def test_entity errors = JSON::Validator.fully_validate('entity.json', @@example + 'entity.json', strict: @@strict, list: true) assert(errors.empty?, errors.join("\n")) end def test_index errors = JSON::Validator.fully_validate('entity.json', @@example + 'entityIndex.json', fragment:'#/definitions/index', strict: @@strict, list: true) assert(errors.empty?, errors.join("\n")) end def test_foreignKey errors = JSON::Validator.fully_validate('entity.json', @@example + 'entityForeignKey.json', fragment:'#/definitions/foreignKey', strict: @@strict, list: true) assert(errors.empty?, errors.join("\n")) end end
Version data entries
31 entries across 31 versions & 1 rubygems