Permalink
Browse files

bump -native to 0.9.7.2-1

  • Loading branch information...
1 parent 7765ab7 commit 243d173eb256f5cc7be19e8d3eea705e46672c8c @aheckmann aheckmann committed Dec 16, 2011
Showing with 5 additions and 3 deletions.
  1. +1 −1 package.json
  2. +4 −2 test/dropdb.js
View
@@ -6,7 +6,7 @@
, "keywords": ["mongodb", "mongoose", "orm", "data", "datastore", "nosql"]
, "dependencies": {
"hooks": "0.1.9"
- , "mongodb": "0.9.7-1.4"
+ , "mongodb": "0.9.7-2-1"
, "colors": "0.5.1"
}
, "devDependencies": {
View
@@ -1,5 +1,7 @@
var start = require('./common')
var db = start();
-db.db.dropDatabase(function () {
- process.exit();
+db.on('open', function () {
+ db.db.dropDatabase(function () {
+ process.exit();
+ });
});

0 comments on commit 243d173

Please sign in to comment.