Skip to content

Commit

Permalink
void 0
Browse files Browse the repository at this point in the history
  • Loading branch information
alsotang committed Oct 9, 2014
1 parent c2700cc commit 84863b6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lesson8/test/app.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ var supertest = require('supertest');
var request = supertest(app);
var should = require('should');

var agent = request.agent();
describe('test/app.test.js', function () {
it('should return 55 when n is 10', function (done) {
agent.get('/fib')
request.get('/fib')
.query({n: 10})
.end(function (err, res) {
res.text.should.equal('55');
Expand Down

0 comments on commit 84863b6

Please sign in to comment.