Behat/CommonContexts — pull request #25 by fightmaster (2012-06-05 11:36:40+00:00)
Title: Hi guys!

I think, that this method works incorrect.

In our project we have REST and the server returns a response in json format. One day, the server has changed a key. But at the same time continued to pass the tests and the error was discovered only accidentally discovered.

I think we should be checking for the key, there may be a key is more important than the match value.

As for checking the value. If we check the existence of a key, and the value should be checked on the key.

I look forward to your opinions.

Regards,
Dmitry.