lib/koala.rb in koala-1.8.0 vs lib/koala.rb in koala-1.9.0rc1

- old
+ new

@@ -36,9 +36,14 @@ end def config @config ||= OpenStruct.new(HTTPService::DEFAULT_SERVERS) end + + # Used for testing. + def reset_config + @config = nil + end end # @private # For current HTTPServices, switch the service as expected. # For deprecated services (Typhoeus and Net::HTTP), print a warning and set the default Faraday adapter appropriately.