Skip to content
Myr

removed a test

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 4329528 · Browse files · 1 file+0 added−24 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−24 removed

  • tests:+0 added−24 removed

1 file+0 added−24 removed

modified:test/res.render.js-24 removed
296 unmodified lines
297 done();298 });299 })300 301 describe('in the callback', function(){302 it('should next(err)', function(done){303 var app = express();304305 app.set('views', __dirname + '/fixtures');306307 app.use(function(req, res){308 res.render('user.jade', function(err){309 req.foo();310 });311 });312313 app.use(function(err, req, res, next){314 res.end(err.message);315 });316317 request(app)318 .get('/')319 .end(function(res){320 res.body.should.match(/has no method 'foo'/);321 done();322 });323 })324 })301 })302 })303})