Add spec for non-json errors containing the response body
Rubocop fixes
Merge pull request #14 from gocardless/fix-non-json-errors

Add spec for non-JSON errors containing the response body