Browse Source
so we can have the collections passed in the call to mongojs.saintedlama/travis-non-legacy
Eduardo Sorribas
10 years ago
4 changed files with 37 additions and 30 deletions
@ -1,9 +0,0 @@ |
|||
var test = require('tape'); |
|||
var mongojs = require('../'); |
|||
var db = mongojs('test'); |
|||
|
|||
test('receive a driver db instance', function(t) { |
|||
var thedb = mongojs(db); |
|||
t.ok(db === thedb); |
|||
t.end(); |
|||
}); |
Loading…
Reference in new issue