From 7390e33d45efb427ed3d00876f5a021b7a6003df Mon Sep 17 00:00:00 2001 From: "Jose F. Romaniello" Date: Fri, 16 Nov 2012 12:47:41 -0300 Subject: [PATCH] minor --- package.json | 2 +- test/authorizer.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);