[Groonga-commit] groonga/express-kotoumi [master] test: Build actually registered commands array correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Feb 7 17:40:24 JST 2013


YUKI Hiroshi	2013-02-07 17:40:24 +0900 (Thu, 07 Feb 2013)

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

  Log:
    test: Build actually registered commands array correctly

  Modified files:
    test/frontend-rest-adaptor.test.js
    test/frontend-socket.io-adaptor.test.js

  Modified: test/frontend-rest-adaptor.test.js (+1 -1)
===================================================================
--- test/frontend-rest-adaptor.test.js    2013-02-07 17:38:47 +0900 (f6f7ea6)
+++ test/frontend-rest-adaptor.test.js    2013-02-07 17:40:24 +0900 (481e071)
@@ -59,7 +59,7 @@ suite('REST API', function() {
 
     registeredCommands = registeredCommands.map(function(command) {
       return {
-        command: command.command,
+        name:       command.name,
         definition: command.definition
       };
     });

  Modified: test/frontend-socket.io-adaptor.test.js (+1 -1)
===================================================================
--- test/frontend-socket.io-adaptor.test.js    2013-02-07 17:38:47 +0900 (5853a45)
+++ test/frontend-socket.io-adaptor.test.js    2013-02-07 17:40:24 +0900 (bd97d5f)
@@ -58,7 +58,7 @@ suite('Socket.IO API', function() {
 
         registeredCommands = registeredCommands.map(function(command) {
           return {
-            command: command.command,
+            name:       command.name,
             definition: command.definition
           };
         });
-------------- next part --------------
HTML����������������������������...
Download 



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