Remove dead codeblock leftover after moving to webmock, enable coverage output locally

This commit is contained in:
Steven Bazyl committed 2015-12-11 12:10:50 -08:00
1 parent 9b34943655
commit ebdc177aeb
2 files changed
+5 -13

No files matched your search

-12
View File
@@ -34,18 +34,6 @@ $LOAD_PATH.uniq!
require 'faraday'
require 'spec_helper'
def build_json_response(payload)
[200,
{ 'Content-Type' => 'application/json; charset=utf-8' },
MultiJson.dump(payload)]
end
def build_access_token_json(token)
build_json_response('access_token' => token,
'token_type' => 'Bearer',
'expires_in' => 3600)
end
shared_examples 'apply/apply! are OK' do
let(:auth_key) { :Authorization }