Skip to content

Commit

Permalink
Makes HTTPS client tests pass
Browse files Browse the repository at this point in the history
https://www.amazon.com now redirects to http version. Switching site
is enough to make the test pass.

Signed-off-by: Aman Gupta <[email protected]>
  • Loading branch information
michaelklishin authored and tmm1 committed May 29, 2010
1 parent 2c615ce commit 2c083af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_httpclient2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def test_authheader
def test_https_get
d = nil
EM.run {
http = EM::P::HttpClient2.connect :host => 'www.amazon.com', :port => 443, :ssl => true
http = EM::P::HttpClient2.connect :host => 'www.apple.com', :port => 443, :ssl => true
d = http.get "/"
d.callback {
EM.stop
Expand Down

0 comments on commit 2c083af

Please sign in to comment.