lib/tessa/upload/uploads_file.rb in tessa-1.1.1 vs lib/tessa/upload/uploads_file.rb in tessa-1.2.0

- old
+ new

@@ -11,10 +11,8 @@ .public_send(upload.upload_method, upload.upload_url, File.read(file)) .success? end def self.connection_factory - Faraday.new do |conn| - conn.adapter Faraday.default_adapter - end + Tessa::FakeConnection.new end end