Skip to content

Commit

Permalink
User response#header instead of headers_hash.
Browse files Browse the repository at this point in the history
  • Loading branch information
hanshasselberg committed Aug 23, 2012
1 parent e58c990 commit e7cd62e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/acceptance/typhoeus/typhoeus_hydra_spec_helper.rb
Expand Up @@ -25,7 +25,7 @@ def http_request(method, uri, options = {}, &block)
raise FakeTyphoeusHydraConnectError.new if response.code == 0
OpenStruct.new({
:body => response.body,
:headers => WebMock::Util::Headers.normalize_headers(join_array_values(response.headers_hash)),
:headers => WebMock::Util::Headers.normalize_headers(join_array_values(response.header)),
:status => response.code.to_s,
:message => response.status_message
})
Expand Down

0 comments on commit e7cd62e

Please sign in to comment.