Skip to content

Commit

Permalink
fix specs
Browse files Browse the repository at this point in the history
  • Loading branch information
igrigorik committed Apr 21, 2011
1 parent baa06d5 commit 5e799ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/pipelining_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
pipe2.callback {
processed += 1
pipe2.response_header.status.should == 200
pipe2.response.should match('biography')
pipe2.response.should match(/ilya/i)
stop.call
}

Expand Down
2 changes: 1 addition & 1 deletion spec/socksify_proxy_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

it "should use SOCKS5 proxy" do
EventMachine.run {
http = EventMachine::HttpRequest.new('http://whatismyip.everdot.org/', proxy).get
http = EventMachine::HttpRequest.new('http://jsonip.com/', proxy).get

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

0 comments on commit 5e799ee

Please sign in to comment.