Skip to content

Instantly share code, notes, and snippets.

@cmeiklejohn
Created September 10, 2011 21:24
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 cmeiklejohn/1208810 to your computer and use it in GitHub Desktop.
Save cmeiklejohn/1208810 to your computer and use it in GitHub Desktop.
vows and tobi not working, anyone?
# coffeescript issue
vows = require('vows')
tobi = require('tobi')
should = require('should')
getBrowser = () ->
tobi.createBrowser(80, 'www.google.com')
vows
.describe('Test')
.addBatch
'A hit':
topic: () ->
browser = getBrowser()
browser.get('/', this.callback)
return # avoid implicit return of results
'should return 200': (res, $) ->
res.should.have.status(200)
.export(module)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment