Join GitHub today
Predicates do not match ints, floats, booleans #4
One thing I ran into with configuring a stub was a predicate like this --
Initially I was surprised it never matched. Then I changed the query value to a string and it worked.
As it looks like, that is happening because the expected and actual JSON string values are not equal:
The actual value should be 100, not "100".
One option is to probably try fixing the actual value. Another option is to leave actual as-is and compare the object graphs semantically using objectdiff or something similar, I think.