Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[minor] fix travis build

  • Loading branch information...
commit 1de2af8a98c511884d8e900b911683ffa76a98fc 1 parent 83b174b
@coderarity coderarity authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  test/engines/mongodb.js
View
3  test/engines/mongodb.js
@@ -19,8 +19,9 @@ engine.load = function (resourceful, data, callback) {
db.open(function (err) {
if (err) return callback(err);
+
db.dropCollection(engine.options.collection, function (err) {
- if (err) return callback(err);
+ //ignore error, probably failed because it didn't exist which is fine
db.createCollection(engine.options.collection, function (err, collection) {
if (err) return callback(err);
Please sign in to comment.
Something went wrong with that request. Please try again.