Skip to content

Instantly share code, notes, and snippets.

@cmcavoy
Created January 19, 2012 21:40
Show Gist options
  • Save cmcavoy/1642919 to your computer and use it in GitHub Desktop.
Save cmcavoy/1642919 to your computer and use it in GitHub Desktop.
$ vows
···· ✓ OK » 3 honored (0.020s)
···· ············································ ······················· ·✗· ···
An awarded badge can be retrieved
✗ and updated without duplicating
TypeError: Property 'length' of object function ok(value, message) {
if (!!!value) fail(value, true, message, '==', assert.ok);
} is not a function
at Promise.<anonymous> (/home/cmcavoy/projects/openbadges/test/award-test.js:29:16)
at runTest (/usr/local/lib/node_modules/vows/lib/vows.js:132:26)
at EventEmitter.<anonymous> (/usr/local/lib/node_modules/vows/lib/vows.js:78:9)
at EventEmitter.<anonymous> (events.js:88:20)
at EventEmitter.emit (/usr/local/lib/node_modules/vows/lib/vows.js:236:24)
at /usr/local/lib/node_modules/vows/lib/vows/context.js:32:52
at Promise.<anonymous> (/usr/local/lib/node_modules/vows/lib/vows/context.js:46:29)
at Promise.<anonymous> (/home/cmcavoy/projects/openbadges/node_modules/mongoose/lib/promise.js:120:8)
at Promise.<anonymous> (events.js:67:17)
at Promise.<anonymous> (/usr/local/lib/node_modules/vows/lib/vows.js:236:24)
✗ Errored » 77 honored ∙ 1 errored (0.172s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment