Sha256: e94a8ce3bff92ad9fb92c719f844fdb9c4268e8d6b635bb743f65c333a845a6e

Contents?: true

Size: 674 Bytes

Versions: 2

Compression:

Stored size: 674 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: Empty 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
    Then the JSON output should be:
      """json
      []
      """

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
json_test_data-0.0.1 features/generate_empty_objects.feature
json_test_data-0.0.1.beta features/generate_empty_objects.feature