Sha256: 9f0d2b4d3896670dc7db4a018e1cb5928426eb6f87e8c7a1683304cab5851304
Contents?: true
Size: 842 Bytes
Versions: 1
Compression:
Stored size: 842 Bytes
Contents
Feature: String constraints Scenario: Maximum length is short Given the following JSON schema: """json { "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "name": { "type": "string", "maxLength": 2 } } } """ When I run the JSON data generator Then the output should match the schema Scenario: Minimum length is long Given the following JSON schema: """json { "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "name": { "type": "string", "minLength": 8 } } } """ When I run the JSON data generator Then the output should match the schema
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
json_test_data-0.7.0 | features/string_constraints.feature |