This commit is contained in:
Jose F. Romaniello
2012-11-16 12:47:41 -03:00
parent 3dc3096b15
commit 7390e33d45
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ describe('authorizer', function () {
});
it('should do the handshake and connect', function (done){
var socket = io.connect('http://localhost:9000');
var socket = io.connect('http://localhost:9000', {'force new connection':true});
socket.on('connect', function(){
done();
}).on('error', done);