Created
September 10, 2011 21:24
-
-
Save cmeiklejohn/1208810 to your computer and use it in GitHub Desktop.
vows and tobi not working, anyone?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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