From 556bcdb2bd2032f48498d1e98ce3f27547c56841 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ca=C3=ADque=20de=20Castro=20Soares=20da=20Silva?= Date: Wed, 10 Apr 2019 14:47:38 -0300 Subject: [PATCH] Update string connection for new mongoose version --- test/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/index.js b/test/index.js index 1429735..5fcc0b6 100644 --- a/test/index.js +++ b/test/index.js @@ -4,7 +4,7 @@ var mongoose = require('mongoose') , ttl = require('../') , assert = require('assert') -mongoose.connect('localhost', 'mongoose_test_ttl'); +mongoose.connect('mongodb://localhost:27017/mongoose_test_ttl'); var ttl_ = 1000 , interval = 1500