Revert "update tests"

This reverts commit 501e891760fd5c5bd0e6ffc75f866fd565561f31.
This commit is contained in:
Brian Gough 2015-12-01 15:48:31 +00:00
parent 4bf90afe0e
commit 64f5d5526e

View file

@ -24,7 +24,7 @@ describe "DocumentUpdater - flushDocIfLoaded", ->
describe "when the doc is in Redis", ->
beforeEach ->
@RedisManager.getDoc = sinon.stub().callsArgWith(1, null, @lines, @version)
@TrackChangesManager.flushDocChangesIfNeeded = sinon.stub().callsArg(2)
@TrackChangesManager.flushDocChanges = sinon.stub().callsArg(2)
@PersistenceManager.setDoc = sinon.stub().callsArgWith(4)
@DocumentManager.flushDocIfLoaded @project_id, @doc_id, @callback