Kouhei Sutou
null+****@clear*****
Sun Jul 21 17:04:02 JST 2013
Kouhei Sutou 2013-07-21 17:04:02 +0900 (Sun, 21 Jul 2013) New Revision: 35e43bcf0d4038bbbd14863283a27e8d8b8b6394 https://github.com/groonga/express-droonga/commit/35e43bcf0d4038bbbd14863283a27e8d8b8b6394 Message: test: fix inverted expected adn actual order chai uses "actual, expected" order instead of "expected, actual" order. Modified files: test/frontend-rest-adaptor.test.js Modified: test/frontend-rest-adaptor.test.js (+3 -3) =================================================================== --- test/frontend-rest-adaptor.test.js 2013-07-21 17:00:07 +0900 (253ff75) +++ test/frontend-rest-adaptor.test.js 2013-07-21 17:04:02 +0900 (fc8f883) @@ -119,9 +119,9 @@ suite('REST API', function() { .next(function(response) { backend.assertReceived([{ type: 'api', body: 'api requested' }]); - assert.deepEqual({ statusCode: 200, - body: JSON.stringify('api OK') }, - response); + assert.deepEqual(response, + { statusCode: 200, + body: JSON.stringify('api OK') }); done(); }) .error(function(error) { -------------- next part -------------- HTML����������������������������...Download