Sha256: e6fbdebce17cf63660427ec6a62ddb73759637f32110d1b7d64edfa17889644d

Contents?: true

Size: 789 Bytes

Versions: 1

Compression:

Stored size: 789 Bytes

Contents

Feature: Generate test data
  Scenario: Simple object
    Given the following JSON schema:
      """json
      {
        "$schema": "http://json-schema.org/draft-04/schema#",
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          }
        }
      }
      """
    When I run the JSON data generator
    Then the JSON output should be:
      """json
      {"name":"a"}
      """

  Scenario: Simple array
    Given the following JSON schema:
      """json
      {
        "$schema": "http://json-schema.org/draft-04/schema#",
        "type": "array",
        "items": {
          "type": "string"
        }
      }
      """
    When I run the JSON data generator
    Then the JSON output should be:
      """json
      ["a"]
      """

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
json_test_data-0.1.0 features/generate_data.feature