contexts icon indicating copy to clipboard operation
contexts copied to clipboard

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

Open andheiberg opened this issue 10 years ago • 5 comments

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.

andheiberg avatar Aug 20 '15 05:08 andheiberg

+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.

elkangaroo avatar Feb 16 '16 09:02 elkangaroo

Can you add the corresponding behat test?

sanpii avatar Feb 19 '16 15:02 sanpii

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

andheiberg avatar Feb 19 '16 16:02 andheiberg

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 avatar Apr 21 '16 18:04 andheiberg

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

andheiberg avatar Apr 21 '16 18:04 andheiberg