mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 20:03:43 -05:00
fix unit test
This commit is contained in:
parent
947e18eccf
commit
41f15c4fa8
1 changed files with 2 additions and 2 deletions
|
@ -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", ->
|
||||||
|
|
Loading…
Reference in a new issue