fix unit tests

This commit is contained in:
Brian Gough 2017-08-08 09:40:39 +01:00
parent 9f3ec72f81
commit ca7d9dce85

View file

@ -551,7 +551,7 @@ describe "RedisManager", ->
describe "removeDocFromMemory", ->
beforeEach (done) ->
@rclient.del = sinon.stub()
@rclient.srem = sinon.stub().yields()
@rclient.srem = sinon.stub()
@rclient.exec.yields()
@RedisManager.removeDocFromMemory @project_id, @doc_id, done