From c07ecf21b8f73a2b00918f4314394dd4b4b85b9d Mon Sep 17 00:00:00 2001 From: Arvo Date: Mon, 22 Sep 2014 23:19:22 +0800 Subject: [PATCH] update mocha test.js --- test/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test.js b/test/test.js index f4ffed4..dedfb0d 100644 --- a/test/test.js +++ b/test/test.js @@ -38,7 +38,7 @@ describe('Utils', function() { }) describe('Routes', function() { - describe('console req', function() { + describe('response the request', function() { var sever; before(function() { sever=app.listen(3000); @@ -46,7 +46,7 @@ describe('Routes', function() { after(function() { sever.close(); }) - it('should ', function(done) { + it('should get the request in config.json ', function(done) { request.get('http://localhost:3000/prize/ajax/prizeDraw?groupId=198', function(err,res, body) { assert(config.ajaxList[res.req.path]) done();