diff --git a/services/track-changes/test/unit/coffee/UpdatesManager/UpdatesManagerTests.coffee b/services/track-changes/test/unit/coffee/UpdatesManager/UpdatesManagerTests.coffee index dec00765c7..905a48aa28 100644 --- a/services/track-changes/test/unit/coffee/UpdatesManager/UpdatesManagerTests.coffee +++ b/services/track-changes/test/unit/coffee/UpdatesManager/UpdatesManagerTests.coffee @@ -104,11 +104,10 @@ describe "UpdatesManager", -> .calledWith(@doc_id) .should.equal true - # FIXME: Broken test, was hidden by an api mistake - it "should defer the compression of raw ops until they are written in a new pack", -> - console.log @UpdateCompressor.compressRawUpdates.called + it "should compress the raw ops", -> @UpdateCompressor.compressRawUpdates - .called.should.not.equal true + .calledWith(null, @rawUpdates) + .should.equal true it "should save the new compressed ops into a pack", -> @PackManager.insertCompressedUpdates