Sha256: 8ad5a0a6ed530bbdc3675ad880b241760e812aa33095c4ed99996d5fe0990191

Contents?: true

Size: 1.23 KB

Versions: 9

Compression:

Stored size: 1.23 KB

Contents

Feature: Generating empty objects
  Scenario: Empty object
    Given the following JSON schema:
      """json
      {
        "$schema": "http://json-schema.org/draft-04/schema#",
        "type": "object",
        "properties": {}
      }
      """
    When I run the JSON data generator
    Then the output should match the schema

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

  Scenario: Ruby hash
    Given the following JSON schema:
      """json
      {
        "$schema": "http://json-schema.org/draft-04/schema#",
        "type": "object",
        "properties": {}
      }
      """
    When I run the JSON data generator with the "ruby" option
    Then the output should be a Ruby hash


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

Version data entries

9 entries across 9 versions & 1 rubygems

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