Skip to content

Commit

Permalink
test: add missing JSON.stringify
Browse files Browse the repository at this point in the history
The response object is JSON format.
  • Loading branch information
kou committed Jul 21, 2013
1 parent 25f647d commit 6e6934c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/express-adaptor.test.js
Expand Up @@ -100,7 +100,7 @@ suite('Adaption for express application', function() {
})
.wait(0.01)
.next(function() {
assert.equal(responseBody, 'api OK');
assert.equal(responseBody, JSON.stringify('api OK'));
done();
})
.error(function(error) {
Expand Down

0 comments on commit 6e6934c

Please sign in to comment.