Sha256: 089aa5277d88d74aecb1695f04070e3d53963e9f83ec170aa1ffd1bc8d3346a8

Contents?: true

Size: 781 Bytes

Versions: 6

Compression:

Stored size: 781 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": {
          "id": {
            "type": "number"
          }
        }
      }
      """
    When I run the JSON data generator
    Then the JSON output should be:
      """json
      {"id":1}
      """

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

Version data entries

6 entries across 6 versions & 1 rubygems

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