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

Added @Given the JSON node :node should be of type :type #135

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

andheiberg
Copy link

Basically I want to check if a node is an array. But by writing it this way you can also check for string, integer and float.

Basically I want to check if a node is an array. But by writing it this way you can also check for string, integer and float.
@elkangaroo
Copy link

+1 this is really useful if you don't want to validate the complete schema and also do not know the exact value of a node.

@sanpii
Copy link
Member

sanpii commented Feb 19, 2016

Can you add the corresponding behat test?

@andheiberg
Copy link
Author

Yes sure, I will have a look at that this weekend.

@andheiberg
Copy link
Author

LOL I guess someone couldn't wait for me. The exact same code is already in master with tests though.

Just setup everything and merged down master to discover this 👎

Oh well glad people are contributing to this great project 👍

@andheiberg
Copy link
Author

Actually I was confusing my self haha. Rebuild the changes and pushed it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants