Skip to content
Myr

Fixed MockResponse, status code was missing

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

authored by visionmedia · committed by visionmedia · parent b19bd40 · Browse files · 3 files+9 added−9 removed
This commit

State

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

Diff stats

3 files+9 added−9 removed

  • tests:+2 added−2 removed
  • other:+7 added−7 removed

3 files+9 added−9 removed

modified:lib/express/spec/mock-routes.js+2 added-1 removed
modified:lib/express/helpers.js+7 added-7 removed
modified:spec/spec.core.helpers.js-1 removed
53 unmodified lines
54 describe 'halt()'55 describe 'when given no arguments'56 it 'should respond with 404 Not Found'57 get('/user', function(){ halt() })58 p(get('/user').body)58 get('/user').body.should.include('Not Found')59 get('/user').status.should.eql 40460 end61 end
71 unmodified lines