Create a gist now

Instantly share code, notes, and snippets.

@chovy /test.js Secret
Created Dec 15, 2012

What would you like to do?
var cfg = require('../config')
, mongoose = require('mongoose')
, db = mongoose.connect(cfg.mongo.uri, cfg.mongo.db)
, User = require('../models/user')
, Item = require('../models/item')
describe('User', function(){
//clear out db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment