Sha256: f7be6f690f7c323d65a8dd3df58c5a924b1e1a78bba6ef93f0dc08f0f93a5da1

Contents?: true

Size: 741 Bytes

Versions: 9

Compression:

Stored size: 741 Bytes

Contents

Feature: Array constraints
  Scenario: Minimum number of items
    Given the following JSON schema:
      """json
      {
        "$schema": "http://json-schema.org/draft-04/schema#",
        "type": "array",
        "minItems": 4,
        "items": {
          "type": "number"
        }
      }
      """
    When I run the JSON data generator
    Then the output should match the schema

  Scenario: Unique items
    Given the following JSON schema:
      """json
      {
        "$schema": "http://json-schema.org/draft-04/schema#",
        "type": "array",
        "minItems": 4,
        "items": {
          "type": "number"
        }
      }
      """
    When I run the JSON data generator
    Then the output should match the schema

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
json_test_data-1.2.0 features/array_constraints.feature
json_test_data-1.1.3 features/array_constraints.feature
json_test_data-1.1.2 features/array_constraints.feature
json_test_data-1.1.1 features/array_constraints.feature
json_test_data-1.1.0 features/array_constraints.feature
json_test_data-1.0.0 features/array_constraints.feature
json_test_data-0.9.0 features/array_constraints.feature
json_test_data-0.8.0 features/array_constraints.feature
json_test_data-0.7.0 features/array_constraints.feature