Open dogweather opened 10 years ago
I'm not sure how this matcher should be worded exactly, but the idea is to verify that the resource (that is, the thing returned by the URL) is valid json according to a particular schema. json-schema-rspec looks promising.
Ruby JSON Validators
I'm not sure how this matcher should be worded exactly, but the idea is to verify that the resource (that is, the thing returned by the URL) is valid json according to a particular schema. json-schema-rspec looks promising.
Ruby JSON Validators