Sha256: 370a9a15260cd81c864c49b73795a9b766733e5598ca832492f05090df2d51de

Contents?: true

Size: 460 Bytes

Versions: 9

Compression:

Stored size: 460 Bytes

Contents

Feature: Types
  Scenario: All types
    Given the JSON is:
      """
      {
        "array": [],
        "float": 10.0,
        "hash": {},
        "integer": 10,
        "string": "json_spec"
      }
      """
    When I get the JSON
    Then the JSON should be a hash
    And the JSON at "array" should be an array
    And the JSON at "float" should be a float
    And the JSON at "hash" should be a hash
    And the JSON at "integer" should be an integer

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
json_spec-0.8.1 features/types.feature
json_spec-0.8.0 features/types.feature
json_spec-0.7.0 features/types.feature
json_spec-0.6.0 features/types.feature
json_spec-0.5.0 features/types.feature
json_spec-0.4.0 features/types.feature
json_spec-0.3.0 features/types.feature
json_spec-0.2.0 features/types.feature
json_spec-0.1.0 features/types.feature