Permalink
Browse files

Fix dependency weird error running test suite

  • Loading branch information...
txus committed Apr 6, 2011
1 parent 7387779 commit 96f566538fb35019c5546017fca83f4cb0073e1f
Showing with 3 additions and 2 deletions.
  1. +3 −2 test/model.js
View
@@ -3,8 +3,9 @@
*/
var Model = require('./../lib/model'),
- Server = require('mongodb/connection').Server,
- Db = require('mongodb/db').Db,
+ mongodb = require('mongodb'),
+ Db = mongodb.Db,
+ Server = mongodb.Server,
db = new Db('mongolia_test', new Server('localhost', 27017, {auto_reconnect: true, native_parser: true}), {});
var User = function (db) {

0 comments on commit 96f5665

Please sign in to comment.