From 1cd80b9dcde52259ee0ccea7bbedac40645cd931 Mon Sep 17 00:00:00 2001 From: Shane Kilkelly Date: Fri, 25 Aug 2017 14:53:39 +0100 Subject: [PATCH] Restore a broken test that was commented out temporarily --- .../coffee/UpdatesManager/UpdatesManagerTests.coffee | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/services/track-changes/test/unit/coffee/UpdatesManager/UpdatesManagerTests.coffee b/services/track-changes/test/unit/coffee/UpdatesManager/UpdatesManagerTests.coffee index c669bb1c68..dec00765c7 100644 --- a/services/track-changes/test/unit/coffee/UpdatesManager/UpdatesManagerTests.coffee +++ b/services/track-changes/test/unit/coffee/UpdatesManager/UpdatesManagerTests.coffee @@ -105,11 +105,10 @@ describe "UpdatesManager", -> .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 - # @UpdateCompressor.compressRawUpdates - # .called.should.not.equal true + it "should defer the compression of raw ops until they are written in a new pack", -> + console.log @UpdateCompressor.compressRawUpdates.called + @UpdateCompressor.compressRawUpdates + .called.should.not.equal true it "should save the new compressed ops into a pack", -> @PackManager.insertCompressedUpdates