spec/proxy_spec.rb in em-proxy-0.1.5 vs spec/proxy_spec.rb in em-proxy-0.1.6

- old
+ new

@@ -1,6 +1,6 @@ -require 'spec/helper' +require 'helper' describe Proxy do def failed EventMachine.stop @@ -66,10 +66,10 @@ EventMachine.add_timer(0.1) do EventMachine::HttpRequest.new('http://127.0.0.1:8080/test').get({:timeout => 1}) end Proxy.start(:host => "0.0.0.0", :port => 8080) do |conn| - conn.server :goog, :host => "google.com", :port => 80 + conn.server :bing, :host => "google.com", :port => 80 conn.server :yhoo, :host => "yahoo.com", :port => 80 conn.on_data { |data| data } seen = [] conn.on_response do |backend, resp| \ No newline at end of file