Sha256: 6f842dae1b824a2dcaa572ff41d61105b601ce099568f615eded4e863d501971

Contents?: true

Size: 701 Bytes

Versions: 6

Compression:

Stored size: 701 Bytes

Contents

Feature: Object constraints
  Scenario: Object has no specified properties
    Given the following JSON schema:
      """json
      {
        "$schema": "http://json-schema.org/draft-04/schema#",
        "type": "object"
      }
      """
    When I run the JSON data generator
    Then the JSON output should be:
      """json
      {}
      """

  Scenario: Minimum number of properties
    Given the following JSON schema:
      """json
      {
        "$schema": "http://json-schema.org/draft-04/schema#",
        "type": "object",
        "minProperties": 3,
        "properties": {
        }
      }
      """
    When I run the JSON data generator
    Then JSON output should have 3 properties

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
json_test_data-0.6.0 features/object_constraints.feature
json_test_data-0.5.1 features/object_constraints.feature
json_test_data-0.5.0 features/object_constraints.feature
json_test_data-0.4.0 features/object_constraints.feature
json_test_data-0.4.0.beta features/object_constraints.feature
json_test_data-0.3.0.beta features/object_constraints.feature