mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-27 02:51:57 +02:00
fix background flush unit test
This commit is contained in:
@@ -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", ->
|
||||
|
||||
Reference in New Issue
Block a user