Skip to content
Browse files

User response#header instead of headers_hash.

  • Loading branch information...
1 parent e58c990 commit e7cd62ed05870c718bd786c8b95e22cabf3932cb @i0rek committed Aug 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/acceptance/typhoeus/typhoeus_hydra_spec_helper.rb
View
2 spec/acceptance/typhoeus/typhoeus_hydra_spec_helper.rb
@@ -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
})

0 comments on commit e7cd62e

Please sign in to comment.
Something went wrong with that request. Please try again.