Sha256: d129a39b0d3ccd9b259d89f1cf0be2e28608010050f6876901302d7d5df07658

Contents?: true

Size: 682 Bytes

Versions: 2

Compression:

Stored size: 682 Bytes

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 JSON output should be:
      """json
      {}
      """

  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 JSON output should be:
      """json
      [null]
      """

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
json_test_data-0.3.0.beta features/generate_empty_objects.feature
json_test_data-0.1.0 features/generate_empty_objects.feature