Skip to content
Myr

More specs for 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 17fbab0 · Browse files · 2 files+7 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+7 added−0 removed

  • tests:+7 added−0 removed

2 files+7 added−0 removed

modified:spec/spec.core.helpers.js+6 added
modified:spec/spec.core.routing.js+1 added
85 unmodified lines
86 end87 88 describe 'with an unmatchable request path'89 it 'should throw a NotFoundError'90 // TODO: throw_error(NotFoundError, ...) when jspec is fixed91 -{ get('/something') }.should.throw_error(/NotFoundError: failed to find get "\/something"/)92 try { get('/something') }93 catch (e) {94 e.should.be_an_instance_of ExpressError
7 unmodified lines