From 27e2cb9f7efc3d1e4c5ee56f36a5615158793db2 Mon Sep 17 00:00:00 2001 From: Tim Fogarty Date: Wed, 23 Aug 2017 14:41:51 -0700 Subject: [PATCH] Remove safe option from collection creation --- test/DbTests.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/DbTests.js b/test/DbTests.js index 610d2a6..327bd1f 100644 --- a/test/DbTests.js +++ b/test/DbTests.js @@ -25,7 +25,7 @@ __(function() { var col = undefined try { assert.doesNotThrow(function() { - col = self.db.createCollection('leafnode.createCollectionTest', {safe: true}) + col = self.db.createCollection('leafnode.createCollectionTest') }, Error) assert(!_.isUndefined(col)) } finally { @@ -53,7 +53,7 @@ __(function() { description: 'createCollection async test', doTest: function(ctx, done) { var self = this - col = self.db.createCollection('leafnode.createCollectionTest', {safe: true}, function(err, col) { + col = self.db.createCollection('leafnode.createCollectionTest', {}, function(err, col) { if (err) { return done(err) }