Sha256: cea0525354a73dafe49914c3932b64301d6f70aac2d24c9c9eea35d3267c3a1c
Contents?: true
Size: 1.75 KB
Versions: 9
Compression:
Stored size: 1.75 KB
Contents
Feature: Files Scenario: Equivalence from a file Given the JSON is: """ { "array": [ "json", "spec" ], "false": false, "float": 10.0, "hash": { "json": "spec" }, "created_at": "2011-07-08 02:27:34", "empty_array": [ ], "empty_hash": { }, "id": 1, "integer": 10, "negative": -10, "null": null, "string": "json_spec", "true": true, "updated_at": "2011-07-08 02:28:50" } """ When I get the JSON Then the JSON should be file "two.json" Scenario: Inequivalence from a file Given the JSON is: """ { "string": "json_spec", "true": true, "updated_at": "2011-07-08 02:28:50" } """ When I get the JSON Then the JSON should not be file "two.json" Scenario: Inclusion from a file Given the JSON is: """ { "array": [ "json", "spec" ], "created_at": "2011-07-08 02:27:34", "empty_array": [ ], "empty_hash": { }, "false": false, "float": 10.0, "hash": { "json": "spec" } } """ When I get the JSON Then the JSON should include file "project/version/two.json" Scenario: Exclusion from a file Given the JSON is: """ { "array": [ "json", "spec" ], "created_at": "2011-07-08 02:27:34", "empty_array": [ ], "empty_hash": { }, "false": false, "float": 10.0 } """ When I get the JSON Then the JSON should not include file "project/version/two.json"
Version data entries
9 entries across 9 versions & 1 rubygems