Betamax is a tool for mocking external HTTP resources such as web services and REST APIs in your tests. The project was inspired by the VCR library for Ruby.
The current set of match rules allows only to check for string equality. This causes a problem in the uri's query when the query is semantically identical but due to a different order of the parameters the string representation is not.
For example:
http://freeside.co/betamax?p=2&q=1vs http://freeside.co/betamax?q=1&p=2.
I follow up with a PR to address the previously described issue.
The current set of match rules allows only to check for string equality. This causes a problem in the uri's query when the query is semantically identical but due to a different order of the parameters the string representation is not. For example:
http://freeside.co/betamax?p=2&q=1
vshttp://freeside.co/betamax?q=1&p=2
.I follow up with a PR to address the previously described issue.