mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
fix unit tests
This commit is contained in:
parent
9f3ec72f81
commit
ca7d9dce85
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue