Skip to content

Commit

Permalink
Fix require when using Faraday 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesus committed Mar 5, 2022
1 parent eaa9e36 commit b5742ee
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spec/client_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# frozen_string_literal: true
require 'faraday/net_http_persistent'
if Gem::Requirement.new('>= 2.0').satisfied_by? Gem.loaded_specs['faraday'].version
require 'faraday/net_http_persistent'
end


module DropboxApi
describe Client do
Expand Down

0 comments on commit b5742ee

Please sign in to comment.