fix unit test

This commit is contained in:
Brian Gough 2017-12-14 14:46:27 +00:00
parent 947e18eccf
commit 41f15c4fa8

View file

@ -194,9 +194,9 @@ describe "UpdateManager", ->
.calledWith(@project_id, @doc_id, @updatedDocLines, @version, @appliedOps, @updated_ranges) .calledWith(@project_id, @doc_id, @updatedDocLines, @version, @appliedOps, @updated_ranges)
.should.equal true .should.equal true
it "shoould add metadata to the ops" , -> it "should add metadata to the ops" , ->
@UpdateManager._addProjectHistoryMetadataToOps @UpdateManager._addProjectHistoryMetadataToOps
.calledWith(@appliedOps, @pathname, @updatedDocLines) .calledWith(@appliedOps, @pathname, @lines)
.should.equal true .should.equal true
it "should push the applied ops into the history queue", -> it "should push the applied ops into the history queue", ->