lib/tessa/upload/uploads_file.rb in tessa-1.2.0 vs lib/tessa/upload/uploads_file.rb in tessa-1.2.1
- old
+ new
@@ -11,8 +11,10 @@
.public_send(upload.upload_method, upload.upload_url, File.read(file))
.success?
end
def self.connection_factory
- Tessa::FakeConnection.new
+ Faraday.new do |conn|
+ conn.adapter Faraday.default_adapter
+ end
end
end