Skip to content

Commit 7087546

Browse files
authored
Merge pull request #1068 from rodrigoargumedo/patron-fix
Use Patron::Session instead of Patron namespace
2 parents 22efaba + 05fbf05 commit 7087546

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/webmock/http_lib_adapters/patron_adapter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# patron not found
77
end
88

9-
if defined?(::Patron)
9+
if defined?(::Patron::Session)
1010
module WebMock
1111
module HttpLibAdapters
1212
class PatronAdapter < ::WebMock::HttpLibAdapter

0 commit comments

Comments
 (0)