update unit test

This commit is contained in:
Brian Gough 2019-06-03 10:34:59 +01:00
parent 63f052192e
commit 40f3456b1c

View file

@ -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", ->