YUKI Hiroshi
null+****@clear*****
Wed Feb 6 19:24:56 JST 2013
YUKI Hiroshi 2013-02-06 19:24:56 +0900 (Wed, 06 Feb 2013) New Revision: 5f05d3ef0aa41992d5de7992216796462e783c79 https://github.com/groonga/express-kotoumi/commit/5f05d3ef0aa41992d5de7992216796462e783c79 Log: test: Set session id of client socket correctly Modified files: test/frontend-socket.io-adaptor.test.js Modified: test/frontend-socket.io-adaptor.test.js (+4 -4) =================================================================== --- test/frontend-socket.io-adaptor.test.js 2013-02-06 19:21:37 +0900 (6bffa88) +++ test/frontend-socket.io-adaptor.test.js 2013-02-06 19:24:56 +0900 (d37eec3) @@ -142,7 +142,7 @@ suite('Socket.IO API', function() { .takes('search', { requestMessage: true }, null, - { sessionId: clientSocket.sessionid }); + { sessionId: clientSocket.socket.sessionid }); clientSocket.emit('search', { requestMessage: true }); }) .wait(0.01) @@ -237,7 +237,7 @@ suite('Socket.IO API', function() { .takes('foobar', { requestMessage: true }, null, - { sessionId: clientSocket.sessionid }); + { sessionId: clientSocket.socket.sessionid }); clientSocket.emit('foobar', { requestMessage: true }); }) .wait(0.01) @@ -277,7 +277,7 @@ suite('Socket.IO API', function() { .takes('builder', 'builder request', null, - { sessionId: clientSocket.sessionid }); + { sessionId: clientSocket.socket.sessionid }); clientSocket.on('builder.result', function(data) { mockedReceiver.receive(data); }); @@ -329,7 +329,7 @@ suite('Socket.IO API', function() { .takes('customevent', { requestMessage: true }, null, - { sessionId: clientSocket.sessionid }); + { sessionId: clientSocket.socket.sessionid }); clientSocket.on('custom', function(data) { mockedReceiver.receive(data); }); -------------- next part -------------- HTML����������������������������...다운로드