Permalink
Browse files

Fixed WriteContern and test.

  • Loading branch information...
1 parent ef9f37d commit 1820711276d5f5c857a7e2ab682ff3e3b60edbd4 @kenpratt kenpratt committed Jan 12, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/connect-mongo.test.js
@@ -15,7 +15,7 @@ var mongoose = require('mongoose');
var testMongooseDb = mongoose.connect('mongodb://127.0.0.1:27017/connect-mongo-test');
var options_with_mongoose_connection = { mongoose_connection: testMongooseDb.connections[0] };
-var testMongoNativeDb = new mongo.Db("connect-mongo-test", new mongo.Server('127.0.0.1', 27017, {}));
+var testMongoNativeDb = new mongo.Db("connect-mongo-test", new mongo.Server('127.0.0.1', 27017, {}), { w: defaultOptions.w });
var options_with_mongo_native_db = {db: testMongoNativeDb}
var auth_or_not = function(store, db, options, callback){

0 comments on commit 1820711

Please sign in to comment.