spec/external_spec.rb in em-http-request-1.0.3 vs spec/external_spec.rb in em-http-request-1.1.0

- old
+ new

@@ -15,11 +15,11 @@ } end 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 { http.response_header.status.should == 200 EventMachine.stop @@ -29,10 +29,10 @@ it "should perform a streaming GET" do 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 { http.response_header.status.should == 200 EventMachine.stop