Merge pull request #1863 from overleaf/msm-refactor-project-upload-manager-promises

Refactored ProjectUploadManager to support Promises

GitOrigin-RevId: 1d747f5ca07164299060bb27c6f14fa9e2968fdf
This commit is contained in:
Miguel Serrano
2019-06-24 15:18:14 +02:00
committed by sharelatex
parent 757ae39487
commit ab07761eef
7 changed files with 319 additions and 257 deletions
@@ -536,7 +536,7 @@ describe('ProjectRootDocManager', function() {
)
})
it('should find the project with only the rootDoc_id fiel', function() {
it('should find the project with only the rootDoc_id field', function() {
return this.ProjectGetter.getProject
.calledWith(this.project_id, { rootDoc_id: 1 })
.should.equal(true)