Skip to content

Instantly share code, notes, and snippets.

@basdirks
Created July 8, 2011 18:35
Show Gist options
  • Save basdirks/1072464 to your computer and use it in GitHub Desktop.
Save basdirks/1072464 to your computer and use it in GitHub Desktop.
assert.response(server, {
url: '/',
method: 'GET'
}, {
status: 200
}, 'X Failed to return .css extension for /index.css');
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Object #<Object> has no method 'response'
at Object.<anonymous> (/Users/bas/Code/y/libSpec.js:9:8)
at Module._compile (module.js:407:26)
at Object..js (module.js:413:10)
at Module.load (module.js:339:31)
at Function._load (module.js:298:12)
at Array.<anonymous> (module.js:426:10)
at EventEmitter._tickCallback (node.js:126:26)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment