diff --git a/Changelog.md b/Changelog.md index 3a5e633..71ba124 100644 --- a/Changelog.md +++ b/Changelog.md @@ -3,6 +3,7 @@ * Remove system.indexes during cleanner - Issue #13 (mongodb) * Invoke callback even if empty collection - Bug #14 and #15 (mongodb) * Mongodb usage example at examples dir + * Updated mongodb, cradle, mysql and redis pkg versions 0.6.1 / 2011-12-18 ================== diff --git a/package.json b/package.json index 127a91c..881a504 100644 --- a/package.json +++ b/package.json @@ -9,10 +9,10 @@ "url" : "git://github.com/emerleite/node-database-cleaner.git" }, "dependencies" : { - "mongodb" : "0.9.6-7", - "redis" : ">=0.5.7", - "cradle" : ">=0.5.x", - "mysql" : ">=0.9.2" + "mongodb" : "0.9.8-7", + "redis" : "0.7.1", + "cradle" : "0.5.8", + "mysql" : "0.9.5" }, "devDependencies" : { "mocha" : "0.7.0", diff --git a/test/mongodb.test.js b/test/mongodb.test.js index 3f13da4..ddd755e 100644 --- a/test/mongodb.test.js +++ b/test/mongodb.test.js @@ -6,7 +6,7 @@ var should = require('should'), function setUp(callback) { connect('mongodb://localhost/database_cleaner', function(err, db) { db.createCollection("database_cleaner_collection", null, function (err, collection) { - collection.insertAll([{a:1}, {b:2}], function() { + collection.insert([{a:1}, {b:2}], function() { callback(db); }); });