Navigation Menu

Skip to content

Commit

Permalink
test: name response message
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 25, 2014
1 parent 0da4ebc commit 6886e9e
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions test/adapter/api/groonga/load.test.js
Expand Up @@ -38,13 +38,14 @@ suite('adapter/api/groonga: load', function() {
});
});

var successMessage = {
statusCode: 200,
body: true
};

function pushSuccessResponse() {
backend.reserveResponse(function(request) {
return utils.createReplyPacket(request,
{
statusCode: 200,
body: true
});
backend.reserveResponse(function(requestPacket) {
return utils.createReplyPacket(requestPacket, successMessage);
});
}

Expand Down

0 comments on commit 6886e9e

Please sign in to comment.