diff --git a/package.json b/package.json index 334a11a..beed32b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "passport.socketio", - "version": "0.0.2", + "version": "0.0.4", "description": "access passport.js authenticated user information from socket.io", "main": "lib/index.js", "keywords": [ diff --git a/test/authorizer.test.js b/test/authorizer.test.js index bd1cedc..b026807 100644 --- a/test/authorizer.test.js +++ b/test/authorizer.test.js @@ -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);