Skip to content
Myr

Started implementing halt()

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

authored by visionmedia · committed by visionmedia · parent 256f4f3 · Browse files · 2 files+55 added−0 removed
This commit

State

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

Diff stats

2 files+55 added−0 removed

  • tests:+1 added−0 removed
  • other:+54 added−0 removed

2 files+55 added−0 removed

modified:lib/express/helpers.js+54 added
modified:spec/spec.core.helpers.js+1 added
46 unmodified lines
47 describe 'halt()'48 describe 'when given no arguments'49 it 'should respond with 404 Not Found'50 get('/user', function(){ halt() })51 p(get('/user').body)52 get('/user').body.should.include('Not Found')53 get('/user').status.should.eql 40454 end55 end
71 unmodified lines