Sha256: 6b408f7858e8ddedef1ad11a4bcf60512d9a26a2a7f5b62caa9433a759d3abf4

Contents?: true

Size: 799 Bytes

Versions: 2

Compression:

Stored size: 799 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":"string"}
      """

  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
      ["string"]
      """

Version data entries

2 entries across 2 versions & 1 rubygems

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