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", ->