Sha256: 8ad5a0a6ed530bbdc3675ad880b241760e812aa33095c4ed99996d5fe0990191
Contents?: true
Size: 1.23 KB
Versions: 9
Compression:
Stored size: 1.23 KB
Contents
Feature: Generating empty objects Scenario: Empty object Given the following JSON schema: """json { "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": {} } """ When I run the JSON data generator Then the output should match the schema Scenario: Array with null Given the following JSON schema: """json { "$schema": "http://json-schema.org/draft-04/schema#", "type": "array", "items": {} } """ When I run the JSON data generator Then the output should match the schema Scenario: Ruby hash Given the following JSON schema: """json { "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": {} } """ When I run the JSON data generator with the "ruby" option Then the output should be a Ruby hash Scenario: Ruby array Given the following JSON schema: """json { "$schema": "http://json-schema.org/draft-04/schema#", "type": "array", "items": {} } """ When I run the JSON data generator with the "ruby" option Then the output should be a Ruby array
Version data entries
9 entries across 9 versions & 1 rubygems