[Groonga-commit] groonga/express-kotoumi [master] No need to trigger callback on receive

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Jan 21 15:24:09 JST 2013


YUKI Hiroshi	2013-01-21 15:24:09 +0900 (Mon, 21 Jan 2013)

  New Revision: 8c488a3bb162867d0685614aefae262e7d977fc9
  https://github.com/groonga/express-kotoumi/commit/8c488a3bb162867d0685614aefae262e7d977fc9

  Log:
    No need to trigger callback on receive

  Modified files:
    test/socket-api.test.js

  Modified: test/socket-api.test.js (+1 -2)
===================================================================
--- test/socket-api.test.js    2013-01-21 15:23:33 +0900 (26237be)
+++ test/socket-api.test.js    2013-01-21 15:24:09 +0900 (2f4d02d)
@@ -22,8 +22,7 @@ suite('Socket.IO API', function() {
   test('front to back', function() {
     var connection = nodemock
           .mock('emitMessage')
-            .takes('search', { requestMessage: true }, function() {})
-            .ctrl(2, onReceive);
+            .takes('search', { requestMessage: true }, function() {});
 
     var application = express();
     server = utils.setupServer(application);
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index