Skip to content

Instantly share code, notes, and snippets.

@0xBADC0FFEE
Created April 10, 2014 19:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 0xBADC0FFEE/10413169 to your computer and use it in GitHub Desktop.
Save 0xBADC0FFEE/10413169 to your computer and use it in GitHub Desktop.
var should = require('chai').should();
db.get(1234, function (err, doc) {
should.not.exist(err);
should.exist(doc);
doc.should.be.an('object');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment