dogweather / rspec-webservice_matchers

Black-box web app testing
https://dogsnog.blog/2014/01/16/new-open-source-library-for-test-driven-devops/
MIT License
79 stars 5 forks source link

conform_to_json_schema #2

Open dogweather opened 10 years ago

dogweather commented 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