app.del.js
This file
Path
test/app.del.js
17 lines · 338 bytes · JavaScript
Last changed by
remove unnecessary test/support/httpJonathan Ongbefore adoption643397e
History of this fileTake it
The walk stopped after 200 commits: lines older than 34c83d7 point at it.
3.4.7Jonathan Ongbefore adoption34c83d7
lines 1–2why, one step back12var express = require('../')remove unnecessary test/support/httpJonathan Ongbefore adoption643397e
line 3why, one step back3 , request = require('supertest');3.4.7Jonathan Ongbefore adoption34c83d7
lines 4–17why, one step back45describe('app.del()', function(){6 it('should alias app.delete()', function(done){7 var app = express();89 app.del('/tobi', function(req, res){10 res.end('deleted tobi!');11 });1213 request(app)14 .del('/tobi')15 .expect('deleted tobi!', done);16 })17})