YUKI Hiroshi
null+****@clear*****
Wed Feb 13 19:51:11 JST 2013
YUKI Hiroshi 2013-02-13 19:51:11 +0900 (Wed, 13 Feb 2013) New Revision: 66f231e2d2ca2179db03b777c6323408653ac4e3 https://github.com/groonga/express-kotoumi/commit/66f231e2d2ca2179db03b777c6323408653ac4e3 Log: test: Correct test parameters for req-rep and pub-sub type commands Modified files: test/frontend-socket.io-adaptor.test.js Modified: test/frontend-socket.io-adaptor.test.js (+5 -5) =================================================================== --- test/frontend-socket.io-adaptor.test.js 2013-02-13 19:41:27 +0900 (17c826a) +++ test/frontend-socket.io-adaptor.test.js 2013-02-13 19:51:11 +0900 (c9fdb2a) @@ -254,7 +254,7 @@ suite('Socket.IO API', function() { expectedClientBody: 'raw request', backendCommand: 'reqrep-mod-event.response', backendBody: 'raw response', - expectedBackendCommand: 'reqrep-mod-event.mod.response', + expectedBackendCommand: 'reqrep-mod-event.response.mod', expectedBackendBody: 'raw response' }); @@ -313,13 +313,13 @@ suite('Socket.IO API', function() { } testPubSub('basic', { - clientCommand: 'pubsub', + clientCommand: 'pubsub.subscribe', clientBody: 'raw request', - expectedClientCommand: 'pubsub', + expectedClientCommand: 'pubsub.subscribe', expectedClientBody: 'raw request', - backendCommand: 'pubsub.response', + backendCommand: 'pubsub', backendBody: 'raw response', - expectedBackendCommand: 'pubsub.response', + expectedBackendCommand: 'pubsub', expectedBackendBody: 'raw response' }); -------------- next part -------------- HTML����������������������������...Download