mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
update tests
This commit is contained in:
parent
7a9577e081
commit
4bf90afe0e
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ describe "DocumentUpdater - flushDocIfLoaded", ->
|
||||||
describe "when the doc is in Redis", ->
|
describe "when the doc is in Redis", ->
|
||||||
beforeEach ->
|
beforeEach ->
|
||||||
@RedisManager.getDoc = sinon.stub().callsArgWith(1, null, @lines, @version)
|
@RedisManager.getDoc = sinon.stub().callsArgWith(1, null, @lines, @version)
|
||||||
@TrackChangesManager.flushDocChanges = sinon.stub().callsArg(2)
|
@TrackChangesManager.flushDocChangesIfNeeded = sinon.stub().callsArg(2)
|
||||||
@PersistenceManager.setDoc = sinon.stub().callsArgWith(4)
|
@PersistenceManager.setDoc = sinon.stub().callsArgWith(4)
|
||||||
@DocumentManager.flushDocIfLoaded @project_id, @doc_id, @callback
|
@DocumentManager.flushDocIfLoaded @project_id, @doc_id, @callback
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue