YUKI Hiroshi
null+****@clear*****
Mon Dec 16 17:25:07 JST 2013
YUKI Hiroshi 2013-12-16 17:25:07 +0900 (Mon, 16 Dec 2013) New Revision: 9976d594fd895034df3c9fad89ba420aa8af672d https://github.com/droonga/express-droonga/commit/9976d594fd895034df3c9fad89ba420aa8af672d Message: Store used connection to the global variable "connection" correctly Modified files: test/adapter/socket.io.test.js Modified: test/adapter/socket.io.test.js (+4 -3) =================================================================== --- test/adapter/socket.io.test.js 2013-12-16 17:04:24 +0900 (a04f013) +++ test/adapter/socket.io.test.js 2013-12-16 17:25:07 +0900 (95f0fe9) @@ -106,9 +106,9 @@ suite('Socket.IO Adapter', function() { utils.setupServer(application) .next(function(newServer) { server = newServer; - + connection = utils.createStubbedBackendConnection(); var registeredCommands = socketIoAdapter.register(application, server, { - connection: utils.createStubbedBackendConnection(), + connection: connection, plugins: [ api.API_REST, api.API_SOCKET_IO, @@ -157,8 +157,9 @@ suite('Socket.IO Adapter', function() { utils.setupServer(application) .next(function(newServer) { server = newServer; + connection = utils.createStubbedBackendConnection(); socketIoAdapter.register(application, server, { - connection: utils.createStubbedBackendConnection(), + connection: connection, plugins: [ api.API_REST, api.API_SOCKET_IO, -------------- next part -------------- HTML����������������������������... Download