betamaxteam / betamax

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.
http://betamax.software
Apache License 2.0
470 stars 131 forks source link

query matchrule #206

Closed auhlig closed 8 years ago

auhlig commented 8 years ago

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.

gondor commented 8 years ago

+1 +1

cowboygneox commented 8 years ago

207 was merged. Closing...