Sha256: b73d48727b5f9c8228f6a6ef476d939be31016ed0bbbd4ed72b043656a2c6b71

Contents?: true

Size: 695 Bytes

Versions: 9

Compression:

Stored size: 695 Bytes

Contents

Feature: Types
  Scenario: All types
    Given the JSON is:
      """
      {
        "array": [],
        "false": true,
        "float": 10.0,
        "hash": {},
        "integer": 10,
        "string": "json_spec",
        "true": true
      }
      """
    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 "false" should be a boolean
    And the JSON at "float" should be a float
    And the JSON at "hash" should be a hash
    And the JSON at "hash" should be an object
    And the JSON at "integer" should be an integer
    And the JSON at "string" should be a string
    And the JSON at "true" should be a boolean

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
json_spec-1.1.5 features/types.feature
json_spec-1.1.4 features/types.feature
json_spec-1.1.3 features/types.feature
json_spec-1.1.2 features/types.feature
json_spec-1.1.1 features/types.feature
json_spec-1.1.0 features/types.feature
json_spec-1.0.3 features/types.feature
json_spec-1.0.2 features/types.feature
json_spec-1.0.0 features/types.feature