mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
update unit test
This commit is contained in:
parent
63f052192e
commit
40f3456b1c
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