Browse files

Add test_ssl_configure

  • Loading branch information...
1 parent f54bb91 commit b93bf829343692275f2ea392cc4e6d3bdcc73d32 @dlee committed Apr 18, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 test/adapters/net_http_test.rb
View
6 test/adapters/net_http_test.rb
@@ -39,5 +39,11 @@ def test_connection_errors_get_wrapped
end
end
+ 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

0 comments on commit b93bf82

Please sign in to comment.