Skip to content

Commit

Permalink
Merge pull request #1068 from rodrigoargumedo/patron-fix
Browse files Browse the repository at this point in the history
Use Patron::Session instead of Patron namespace
  • Loading branch information
bblimke authored Sep 18, 2024
2 parents 22efaba + 05fbf05 commit 7087546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/webmock/http_lib_adapters/patron_adapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# patron not found
end

if defined?(::Patron)
if defined?(::Patron::Session)
module WebMock
module HttpLibAdapters
class PatronAdapter < ::WebMock::HttpLibAdapter
Expand Down

0 comments on commit 7087546

Please sign in to comment.