json_spec icon indicating copy to clipboard operation
json_spec copied to clipboard

Allow include_json to match against subset hash at current position

Open martinstoev opened this issue 11 years ago • 1 comments

I wanted to match an expected subset hash against the "current position". The scenario is the following: I have an API and the response should match the specified result. It is ok if there are more attributes, as this does not break the API.

Example in the specs.

martinstoev avatar Sep 22 '14 13:09 martinstoev

+1 for matching subset of a hash (similar to how rspec includes works).

Has this project been abandoned?

ests avatar May 12 '15 09:05 ests