Major refactor. Add error handlers everywhere.

This commit is contained in:
Berkeley Martinez
2014-12-23 08:48:28 -08:00
parent e921b637cc
commit 86fcfe8296
18 changed files with 1431 additions and 1529 deletions

View File

@@ -11,7 +11,7 @@ describe('User Model', function() {
user.save(function(err) {
if (err) return done(err);
done();
})
});
});
it('should not create a user with the unique email', function(done) {