mozilla/openbadges — pull request #427 by stenington (2012-10-25 17:37:24+00:00)
Title: Vows workarounds

This seems to fix the disabled tests, although I'm not 100% clear as to why.

`setupTestDatabase` in login-utils.js may need to be `this.addBatch(...).next()`, although both my machine and Travis seem happy without the `.next()`.

And then `makeInvalidEmailTests` stops hanging when using promises in the topic rather than `this.callback`, although `emit('error', err)` does not work as expected if you try that instead of emitting success. I can't figure out why using `this.callback` hangs though.

@alankligman Take a look, and if you don't mind, grab the code and run tests on your machine just to make sure. The errors we were getting previously were so inconsistent that I'm not convinced this has really fixed them.