From 973a25fc644ea885355f5bdc33368cccacea192e Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Mon, 3 Jun 2019 10:33:32 +0100 Subject: [PATCH] fix background flush unit test --- .../test/unit/coffee/DocumentUpdaterManagerTests.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/real-time/test/unit/coffee/DocumentUpdaterManagerTests.coffee b/services/real-time/test/unit/coffee/DocumentUpdaterManagerTests.coffee index 4f2c5d9b51..e6d82f24ff 100644 --- a/services/real-time/test/unit/coffee/DocumentUpdaterManagerTests.coffee +++ b/services/real-time/test/unit/coffee/DocumentUpdaterManagerTests.coffee @@ -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", ->