Browse files

dump monkey patch. curb verions 0.5* doesn't have http method.

  • Loading branch information...
1 parent f79907a commit 0c84d464d33f50b99e83bf6b9d248c48ef5693d6 Evgeniy Petrov committed Oct 12, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/webmock/http_lib_adapters/curb_adapter.rb
View
4 lib/webmock/http_lib_adapters/curb_adapter.rb
@@ -174,8 +174,8 @@ def http_with_webmock(method)
http_without_webmock(method)
end
end
- alias_method :http_without_webmock, :http
- alias_method :http, :http_with_webmock
+ #alias_method :http_without_webmock, :http
+ #alias_method :http, :http_with_webmock
%w[ get head delete ].each do |verb|
define_method "http_#{verb}_with_webmock" do

0 comments on commit 0c84d46

Please sign in to comment.