alphagov/gds-api-adapters — pull request #36 by jamiecobbett (2012-11-22 17:18:50+00:00)
Title: Make Content API stubbing more flexible

As we add more parameters to requests, it is becoming harder
to continue using the shared helpers. These changes preserve the
existing helpers, but add the ability to construct your own stubs
without having too much knowledge in your app.

Note that there is also a behaviour change in the HTTP stubbing:
Previously, requests had to have exactly the specified query params,
now they just have to have the params you specify.