Sha256: 550ed6364a2181f4d8e553f8cc1330f92c87b5c11a62fbd1299449781211e22f
Contents?: true
Size: 370 Bytes
Versions: 9
Compression:
Stored size: 370 Bytes
Contents
require 'net_http_ssl_fix' RSpec.describe Net::HTTP do let(:http) { Net::HTTP.new('https://example.com/') } before { http.use_ssl = true } it 'uses the bundled CA file' do expect(http.ca_file).to eql File.expand_path('../../../data/cacert.pem', __FILE__) end it 'verifies peer' do expect(http.verify_mode).to eql OpenSSL::SSL::VERIFY_PEER end end
Version data entries
9 entries across 9 versions & 1 rubygems