Skip to content
This repository has been archived by the owner on Apr 20, 2021. It is now read-only.

Need to test values for JSON object inside an array, without knowing the index #138

Open
ghost opened this issue Sep 10, 2015 · 0 comments

Comments

@ghost
Copy link

ghost commented Sep 10, 2015

I need to test that a JSON array contains an object node with a particular ID and that that object node has a particular value in one of its fields.

This could be worded as such:

@Then the JSON object :node_path in the JSON array :array_path having a member node :lookup_node equal to :lookup_value has another member :expected_name equal to :expected_value
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants