Sha256: 11ab133548e18034e72d6766ed15bb0b2fa81442cbf828e4de391d67c02fb43b

Contents?: true

Size: 447 Bytes

Versions: 6

Compression:

Stored size: 447 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",
          "minLength": 3
        }
      }
      """
    When I run the JSON data generator
    Then the JSON output should be:
      """json
      [1,1,1,1]
      """

Version data entries

6 entries across 6 versions & 1 rubygems

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