Permalink
Browse files

Default to get.

  • Loading branch information...
1 parent 0fa79a5 commit feafeb8e9a4d43d215c6cb7d7d49a64e4db4effc @i0rek i0rek committed Feb 14, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/webmock/http_lib_adapters/typhoeus_hydra_adapter.rb
@@ -60,7 +60,7 @@ def self.build_request_signature(req)
body = req.options[:body]
request_signature = WebMock::RequestSignature.new(
- req.options[:method],
+ req.options[:method] || :get,
uri.to_s,
:body => body,
:headers => req.options[:headers]

0 comments on commit feafeb8

Please sign in to comment.