From 505939eab7aaf01fb65e0a17a65f6ef88a509ba6 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 21 Aug 2017 14:40:44 -0400 Subject: [PATCH] correct spec --- spec/controllers/admin/users_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/controllers/admin/users_controller_spec.rb b/spec/controllers/admin/users_controller_spec.rb index 0a199043988..a539da748fd 100644 --- a/spec/controllers/admin/users_controller_spec.rb +++ b/spec/controllers/admin/users_controller_spec.rb @@ -504,7 +504,7 @@ describe Admin::UsersController do context 'ip-info' do it "uses ipinfo.io webservice to retrieve the info" do - Excon.expects(:get).with("http://ipinfo.io/123.123.123.123/json", read_timeout: 30, connect_timeout: 30) + Excon.expects(:get).with("https://ipinfo.io/123.123.123.123/json", read_timeout: 10, connect_timeout: 10) xhr :get, :ip_info, ip: "123.123.123.123" end