Skip to content

Commit

Permalink
Relax mongodb version constraint for v2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ratson committed Apr 3, 2016
1 parent 108628c commit d2610b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@
"node": ">= 0.4.0"
},
"peerDependencies": {
"mongodb": "~2.0"
"mongodb": "^2.0"
},
"devDependencies": {
"istanbul": "0.3.17",
"mocha": "~1.17.1",
"coveralls": "~2.10.0",
"mocha-lcov-reporter": "0.0.1",
"travis-cov": "~0.2.5",
"mongodb": "~2.0",
"mongodb": "^2.0",
"should": "~3.1.2"
},
"scripts": {
Expand Down
2 changes: 2 additions & 0 deletions test/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ exports.testWithDb = function(db) {
});

it('should authenticate using the newly added user', function(done) {
adminDb.logout(function(err, result) {
adminDb.authenticate('admin3', 'admin3', done);
});
})

it('should remove user just added', function(done) {
Expand Down

0 comments on commit d2610b8

Please sign in to comment.