Sha256: a7eed46a875801af2024c1ef2d7ecd042a7b7ab172620ec7668ef99abe43f30c
Contents?: true
Size: 431 Bytes
Versions: 15
Compression:
Stored size: 431 Bytes
Contents
require 'helper' requires_connection do describe EventMachine::HttpRequest do it "should initiate SSL/TLS on HTTPS connections" do EventMachine.run { http = EventMachine::HttpRequest.new('https://mail.google.com:443/mail/').get http.errback { failed(http) } http.callback { http.response_header.status.should == 302 EventMachine.stop } } end end end
Version data entries
15 entries across 15 versions & 1 rubygems