Skip to content

Instantly share code, notes, and snippets.

@christopherscott
Created January 30, 2012 17:17
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save christopherscott/1705508 to your computer and use it in GitHub Desktop.
Save christopherscott/1705508 to your computer and use it in GitHub Desktop.
super clean, basic api testing with node.js, vows, and coffeescript
vows
.describe("Main sections should respond with 200 ok:")
.addBatch
"get /": respondsWith 200
"get /blog": respondsWith 200
"get /portfolio": respondsWith 200
"get /about": respondsWith 200
"get /contact": respondsWith 200
.export(module)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment