Update acceptance tests to use redis-sharelatex

This commit is contained in:
James Allen 2016-11-29 15:05:02 +00:00
parent db8b4bf991
commit 2df5c08389
2 changed files with 3 additions and 2 deletions

View file

@ -35,6 +35,6 @@
"grunt-execute": "~0.1.5",
"grunt-forever": "0.4.1",
"grunt-mocha-test": "~0.9.0",
"grunt-shell": "^1.3.0"
"grunt-shell": "^2.1.0"
}
}

View file

@ -3,7 +3,8 @@ chai = require("chai")
chai.should()
expect = chai.expect
async = require "async"
rclient = require("redis").createClient()
Settings = require('settings-sharelatex')
rclient = require("redis-sharelatex").createClient(Settings.redis.web)
{db, ObjectId} = require "../../../app/js/mongojs"
MockTrackChangesApi = require "./helpers/MockTrackChangesApi"