From 41f15c4fa898ab586977f53d939622f99d88e38b Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Thu, 14 Dec 2017 14:46:27 +0000 Subject: [PATCH] fix unit test --- .../test/unit/coffee/UpdateManager/UpdateManagerTests.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/document-updater/test/unit/coffee/UpdateManager/UpdateManagerTests.coffee b/services/document-updater/test/unit/coffee/UpdateManager/UpdateManagerTests.coffee index 1d933bc5d4..e91c35f7e6 100644 --- a/services/document-updater/test/unit/coffee/UpdateManager/UpdateManagerTests.coffee +++ b/services/document-updater/test/unit/coffee/UpdateManager/UpdateManagerTests.coffee @@ -194,9 +194,9 @@ describe "UpdateManager", -> .calledWith(@project_id, @doc_id, @updatedDocLines, @version, @appliedOps, @updated_ranges) .should.equal true - it "shoould add metadata to the ops" , -> + it "should add metadata to the ops" , -> @UpdateManager._addProjectHistoryMetadataToOps - .calledWith(@appliedOps, @pathname, @updatedDocLines) + .calledWith(@appliedOps, @pathname, @lines) .should.equal true it "should push the applied ops into the history queue", ->