spec/support/koala_test.rb in koala-2.4.0 vs spec/support/koala_test.rb in koala-2.5.0rc1
- old
+ new
@@ -241,10 +241,10 @@
unless defined? JRUBY_VERSION
require adapter
require 'typhoeus/adapters/faraday' if adapter.to_s == "typhoeus"
Faraday.default_adapter = adapter.to_sym
end
- rescue LoadError
+ rescue ParserError
puts "Unable to load adapter #{adapter}, using Net::HTTP."
ensure
@adapter_activation_attempted = true
end
end