History log of /ontohub/spec/support/json_schema_matcher.rb
Revision Date Author Comments Expand
b2f4e4144156d6028e0ee306551d86d346c59753 17-Jan-2016 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Remove strict option from JSON schema validator This allows to have keys in the response that are not specified in the schema, which we do not want, but it also actually uses the "required" key of the schema telling which keys are required in the response and which are optional (this is what we definitely need).

c829cb13b4875500efbe54aaa3d3c013564d9a8d 05-Apr-2015 Tim Reddehase <robustus@rightsrestricted.com>

move helper methods into common file This allows both specs and features to benefit from the helper methods.

4e3398f764c43a67d5012578987dae68baf815bb 10-Mar-2015 Tim Reddehase <robustus@rightsrestricted.com>

do not use json-schema cache.

0d15c0171e91c477f69992718f88899608eab0cd 09-Mar-2015 Tim Reddehase <robustus@rightsrestricted.com>

add a json-schema matcher to rspec This utilizes the json-schema gem in order to be able to validate responses/strings against a json-schema.