You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems very counter intuitive to me that to check if the json is null I need to pass the string null and can't pass the nil object. I'm pretty sure I was able to do this in previous versions. I'd love to see either an example in the readme if that is the desired behavior.
The text was updated successfully, but these errors were encountered:
The purpose of the JSON matchers is to compare JSON to other JSON. If you want to assert the Ruby value at a path, you can use the json_spec helpers like so:
It seems very counter intuitive to me that to check if the json is null I need to pass the string null and can't pass the nil object. I'm pretty sure I was able to do this in previous versions. I'd love to see either an example in the readme if that is the desired behavior.
The text was updated successfully, but these errors were encountered: