Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit 0c84d464d33f50b99e83bf6b9d248c48ef5693d6 1 parent f79907a
Evgeniy Petrov authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 lib/webmock/http_lib_adapters/curb_adapter.rb
4 lib/webmock/http_lib_adapters/curb_adapter.rb
@@ -174,8 +174,8 @@ def http_with_webmock(method)
174 174 http_without_webmock(method)
175 175 end
176 176 end
177   - alias_method :http_without_webmock, :http
178   - alias_method :http, :http_with_webmock
  177 + #alias_method :http_without_webmock, :http
  178 + #alias_method :http, :http_with_webmock
179 179
180 180 %w[ get head delete ].each do |verb|
181 181 define_method "http_#{verb}_with_webmock" do

0 comments on commit 0c84d46

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