csc/Hanlon — pull request #267 by mtnbikenc (2014-11-14 15:10:02+00:00)
Title: Fixes Issue 266 Add sensible error handling to API rspec tests

A new module (SpecHttpHelper) has been added to facilitate robust error handling. When tests fail, the output will be more descriptive of the error such as 'Unable to reach Hanlon server' or 'DB might be down'. Additionally, variable declarations have been added to the top of each spec.

The spec_http_helper.rb looks very similar to the http_helpers.rb in ProjectHanlon, however the entire API response is not returned through that module. It is important to have the entire response to fully test what is returned by the API

Fixes Issue #266