Skip to content
Browse files

[minor] fix travis build

  • Loading branch information...
1 parent 83b174b commit 1de2af8a98c511884d8e900b911683ffa76a98fc @coderarity coderarity committed Sep 5, 2012
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);

0 comments on commit 1de2af8

Please sign in to comment.
Something went wrong with that request. Please try again.