From f514eed1c6d6813efe0bed8fff40119fa18dd7d4 Mon Sep 17 00:00:00 2001 From: Tim Williams <tim@teachmatic.com> Date: Wed, 23 Oct 2013 14:22:06 +0100 Subject: [PATCH] Correct https test --- test/proxy_test.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/proxy_test.rb b/test/proxy_test.rb index 71f60109..8460ee49 100644 --- a/test/proxy_test.rb +++ b/test/proxy_test.rb @@ -28,7 +28,8 @@ class ProxyTest < Test::Unit::TestCase end def test_accepts_proxy_with_https_protocol - Geocoder.configure(:http_proxy => 'https://localhost') + Geocoder.configure(:https_proxy => 'https://localhost') + Geocoder.configure(:use_https => true) lookup = Geocoder::Lookup::Google.new assert lookup.send(:http_client).proxy_class? end -- GitLab