racker/gutsy — pull request #47 by diN0bot (2012-03-13 15:11:59+00:00)
Title: Refactor and fix middleware, including tests.

Motivated by adding a middleware to use externally defined related api creds.

1. Use a load_devops middleware to put devops object into req, and then all other middleware need not be wrapped with a function taking devops as a parameter
2. Fix tests to match the refactor. Don't use mocks; will use nock instead in a future push.
3. If creds values in external apis have value __external__, find values in settings.js