Sha256: b5db60b557e5f7a3d7816fbfbb369142648991d0b7f3cfc392a7f57d1cf488cf
Contents?: true
Size: 485 Bytes
Versions: 2
Compression:
Stored size: 485 Bytes
Contents
require File.expand_path('../integration', __FILE__) module Adapters class NetHttpTest < Faraday::TestCase def adapter() :net_http end behaviors = [:NonParallel] behaviors << :Compression if RUBY_VERSION >= '1.9' Integration.apply(self, *behaviors) def test_configure_ssl http = Net::HTTP.new 'disney.com', 443 # this should not raise an error Faraday::Adapter::NetHttp.new.configure_ssl(http, :ssl => {:verify => true}) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
faraday-0.8.4 | test/adapters/net_http_test.rb |
faraday-0.8.2 | test/adapters/net_http_test.rb |