Skip to content

Commit

Permalink
Update external_spec tests. Fixes igrigorik#209
Browse files Browse the repository at this point in the history
  • Loading branch information
scheibo committed Nov 3, 2012
1 parent 4e93b61 commit fc490c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/external_spec.rb
Expand Up @@ -17,7 +17,7 @@

it "should follow redirect to https and initiate the handshake" do
EventMachine.run {
http = EventMachine::HttpRequest.new('http://analytics.postrank.com/').get :redirects => 5
http = EventMachine::HttpRequest.new('http://github.com/').get :redirects => 5

http.errback { failed(http) }
http.callback {
Expand All @@ -31,7 +31,7 @@
EventMachine.run {

# digg.com uses chunked encoding
http = EventMachine::HttpRequest.new('http://digg.com/news').get
http = EventMachine::HttpRequest.new('http://www.httpwatch.com/httpgallery/chunked/').get

http.errback { failed(http) }
http.callback {
Expand Down

0 comments on commit fc490c7

Please sign in to comment.