7 lines
193 B
Ruby
7 lines
193 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Use net_http in test, that's better supported by webmock
|
|
unless Rails.env.test?
|
|
require "typhoeus/adapters/faraday"
|
|
Faraday.default_adapter = :typhoeus
|
|
end
|