diff --git a/test/proxy_test.rb b/test/proxy_test.rb
index 71f60109cc54777284370872710c07f2a166cafd..8460ee49ed464f4c8c16ce4500a58e35e8b05bf9 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