Skip to content

Commit

Permalink
update mocha test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ArvoGuo committed Sep 22, 2014
1 parent 5a04177 commit c07ecf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ describe('Utils', function() {

})
describe('Routes', function() {
describe('console req', function() {
describe('response the request', function() {
var sever;
before(function() {
sever=app.listen(3000);
})
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();
Expand Down

0 comments on commit c07ecf2

Please sign in to comment.