Remove commented-out code

This commit is contained in:
Shane Kilkelly 2017-08-25 14:52:14 +01:00
parent f6fdc5a827
commit ad43ddb6c6

View file

@ -97,7 +97,6 @@ describe "UpdatesManager", ->
@lastCompressedUpdate = {pack: [{ v: 11, op: "compressed-op-11" }], v:11} @lastCompressedUpdate = {pack: [{ v: 11, op: "compressed-op-11" }], v:11}
@rawUpdates = [{ v: 12, op: "mock-op-12" }, { v: 13, op: "mock-op-13" }] @rawUpdates = [{ v: 12, op: "mock-op-12" }, { v: 13, op: "mock-op-13" }]
@MongoManager.peekLastCompressedUpdate = sinon.stub().callsArgWith(1, null, @lastCompressedUpdate, @lastCompressedUpdate.v) @MongoManager.peekLastCompressedUpdate = sinon.stub().callsArgWith(1, null, @lastCompressedUpdate, @lastCompressedUpdate.v)
# @UpdateCompressor.compressRawUpdates = sinon.stub().returns(@compressedUpdates)
@UpdatesManager.compressAndSaveRawUpdates @project_id, @doc_id, @rawUpdates, @temporary, @callback @UpdatesManager.compressAndSaveRawUpdates @project_id, @doc_id, @rawUpdates, @temporary, @callback
it "should look at the last compressed op", -> it "should look at the last compressed op", ->