app.del.js
This file
Path
test/app.del.js
17 lines · 338 bytes · JavaScript
Last changed by
Not known.
History of this fileTake it
The walk stopped after 200 commits: lines older than 6bc7574 point at it.
docs: typo fixesDouglas Christopher Wilsonbefore adoption6bc7574
lines 1–17why, one step back12var express = require('../')3 , request = require('supertest');45describe('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})