correct spec

This commit is contained in:
Sam 2017-08-21 14:40:44 -04:00
parent 2f0c6c99e0
commit 505939eab7

View File

@ -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