1
0
Fork 0
mirror of https://github.com/overleaf/overleaf.git synced 2025-04-08 21:00:45 +00:00

Merge pull request from sharelatex/bg-fix-broken-unit-test

fix broken unit test
This commit is contained in:
Brian Gough 2017-08-29 15:52:46 +01:00 committed by GitHub
commit 9dafaea64b

View file

@ -104,9 +104,10 @@ describe "UpdatesManager", ->
.calledWith(@doc_id)
.should.equal true
it "should defer the compression of raw ops until they are written in a new pack", ->
it "should compress the raw ops", ->
@UpdateCompressor.compressRawUpdates
.should.not.be.called
.calledWith(null, @rawUpdates)
.should.equal true
it "should save the new compressed ops into a pack", ->
@PackManager.insertCompressedUpdates