mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-29 05:13:03 +00:00
fix background flush unit test
This commit is contained in:
parent
63f052192e
commit
973a25fc64
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ describe 'DocumentUpdaterManager', ->
|
|||
@DocumentUpdaterManager.flushProjectToMongoAndDelete @project_id, @callback
|
||||
|
||||
it 'should delete the project from the document updater', ->
|
||||
url = "#{@settings.apis.documentupdater.url}/project/#{@project_id}"
|
||||
url = "#{@settings.apis.documentupdater.url}/project/#{@project_id}?background=true"
|
||||
@request.del.calledWith(url).should.equal true
|
||||
|
||||
it "should call the callback with no error", ->
|
||||
|
|
Loading…
Reference in a new issue