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

@ -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": [

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);