[Groonga-commit] groonga/gcs [master] Update fixtures and tests around batches

Back to archive index

null+****@clear***** null+****@clear*****
2012年 7月 11日 (水) 18:16:19 JST


SHIMODA Hiroshi	2012-07-11 18:16:19 +0900 (Wed, 11 Jul 2012)

  New Revision: 04dd5f7640f0666dcdaaeaa51082882591afb4b7
  https://github.com/groonga/gcs/commit/04dd5f7640f0666dcdaaeaa51082882591afb4b7

  Log:
    Update fixtures and tests around batches

  Modified files:
    test/batch-translator.test.js

  Modified: test/batch-translator.test.js (+8 -4)
===================================================================
--- test/batch-translator.test.js    2012-07-11 18:14:12 +0900 (701d7fd)
+++ test/batch-translator.test.js    2012-07-11 18:16:19 +0900 (0e0be35)
@@ -31,7 +31,8 @@ suite('batch/translator/Translator (instance methods)', function() {
               'name': batch['fields']['name'],
               'address': batch['fields']['address'],
               'email_address': batch['fields']['email_address'],
-              'age': batch['fields']['age']
+              'age': batch['fields']['age'],
+              'product': batch['fields']['product']
             }])
           }
         };
@@ -63,7 +64,8 @@ suite('batch/translator/Translator (instance methods)', function() {
               'name': batch['fields']['name'],
               'address': batch['fields']['address'],
               'email_address': batch['fields']['email_address'],
-              'age': batch['fields']['age']
+              'age': batch['fields']['age'],
+              'product': batch['fields']['product']
             }])
           }
         };
@@ -96,7 +98,8 @@ suite('batch/translator/Translator (instance methods)', function() {
                 'name': batches[0]['fields']['name'],
                 'address': batches[0]['fields']['address'],
                 'email_address': batches[0]['fields']['email_address'],
-                'age': batches[0]['fields']['age']
+                'age': batches[0]['fields']['age'],
+                'product': batches[0]['fields']['product']
               }])
             }
           },
@@ -109,7 +112,8 @@ suite('batch/translator/Translator (instance methods)', function() {
                 'name': batches[1]['fields']['name'],
                 'address': batches[1]['fields']['address'],
                 'email_address': batches[1]['fields']['email_address'],
-                'age': batches[1]['fields']['age']
+                'age': batches[1]['fields']['age'],
+                'product': batches[1]['fields']['product']
               }])
             }
           },
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
下载 



Groonga-commit メーリングリストの案内
Back to archive index