[Groonga-commit] droonga/express-droonga at b82e657 [master] Remove needless assertion.

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Oct 17 13:19:04 JST 2014


YUKI Hiroshi	2014-10-17 13:19:04 +0900 (Fri, 17 Oct 2014)

  New Revision: b82e65719de65e6607a9514a5421c3daefde21fb
  https://github.com/droonga/express-droonga/commit/b82e65719de65e6607a9514a5421c3daefde21fb

  Message:
    Remove needless assertion.
    
    Because this is a test for a REST API, we can receive unexpected errors as the response.

  Modified files:
    test/express-adapter.test.js

  Modified: test/express-adapter.test.js (+0 -2)
===================================================================
--- test/express-adapter.test.js    2014-10-17 13:18:48 +0900 (899cd79)
+++ test/express-adapter.test.js    2014-10-17 13:19:04 +0900 (06a176a)
@@ -74,8 +74,6 @@ suite('Adaption for express application', function() {
 
       utils.get('/path/to/api')
         .next(function(response) {
-          backend.assertReceived([{ type: 'api',
-                                    body: 'api requested' }]);
           assert.deepEqual(response,
                            { statusCode: 200,
                              body:       JSON.stringify('api OK') });
-------------- next part --------------
HTML����������������������������...
Download 



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