1
0
Fork 0
mirror of https://github.com/rest-client/rest-client.git synced 2022-11-09 13:49:40 -05:00

Add integration test for the default cert store.

This commit is contained in:
Andy Brody 2014-03-31 20:50:27 -07:00
parent 706c272757
commit e06d044d42

View file

@ -55,5 +55,14 @@ describe RestClient::Request do
) )
expect { request.execute }.to raise_error(RestClient::SSLCertificateNotVerified) expect { request.execute }.to raise_error(RestClient::SSLCertificateNotVerified)
end end
it "is successful using the default system cert store" do
request = RestClient::Request.new(
:method => :get,
:url => 'https://www.mozilla.org',
:verify_ssl => true,
)
expect {request.execute }.to_not raise_error
end
end end
end end