balanced/balanced-dashboard — pull request #467 by mjallday (2013-08-10 01:47:59+00:00)
Title: Test requests

This may require a little tooling to make it convenient but I think there's value in us testing that the Fixture adapter is actually receiving the request we expect it to.

Take a look here to see what I'm asserting - https://github.com/mjallday/balanced-dashboard/compare/test-requests?expand=1#L4R71 - that the adapter is actually being called with the expected filters.

The issue with the existing test is that checking for an OHM seems brittle since if the fixture data changes the test breaks.

Interested to hear opinions on this @kleinsch @nodesocket @victorlin @reamer - do you think this approach adds more value?