Permalink
Browse files

[test] Update tests to use `localhost`

  • Loading branch information...
1 parent b4ac4d4 commit a1cdf005b98c422c777c88a7d7baf2eeb91f732d @indexzero indexzero committed May 23, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 test/web-socket-proxy-test.js
View
8 test/web-socket-proxy-test.js
@@ -68,8 +68,8 @@ vows.describe('node-http-proxy/websocket/' + wsprotocol).addBatch({
//
// Setup the web socket against our proxy
//
- var ws = new websocket.WebSocket(wsprotocol + '://home.devjitsu.com:8131/socket.io/websocket/', 'borf', {
- origin: protocol + '://home.devjitsu.com'
+ var ws = new websocket.WebSocket(wsprotocol + '://localhost:8131/socket.io/websocket/', 'borf', {
+ origin: protocol + '://localhost'
});
ws.on('wsupgrade', function (req, res) {
@@ -108,8 +108,8 @@ vows.describe('node-http-proxy/websocket/' + wsprotocol).addBatch({
//
// Setup the web socket against our proxy
//
- var ws = new websocket.WebSocket(wsprotocol + '://home.devjitsu.com:8133/socket.io/websocket/', 'borf', {
- origin: protocol + '://home.devjitsu.com'
+ var ws = new websocket.WebSocket(wsprotocol + '://localhost:8133/socket.io/websocket/', 'borf', {
+ origin: protocol + '://localhost'
});
ws.on('wsupgrade', function (req, res) {

0 comments on commit a1cdf00

Please sign in to comment.