This commit is contained in:
Manuel Araoz 2014-01-16 15:35:36 -03:00
parent e70631ee1f
commit 87913a8561
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ function spec() {
this.db.on('error', function(err) {
console.log('connection error:' + err);
moogose.disconnect();
mongoose.disconnect();
});
this.db.on('disconnect', function(err) {