From 2c3ee253e112503b738cd6a73648ef30138317ae Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Thu, 23 Nov 2017 15:44:24 +0000 Subject: [PATCH] fix unit tests --- .../test/UnitTests/coffee/History/HistoryControllerTests.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/test/UnitTests/coffee/History/HistoryControllerTests.coffee b/services/web/test/UnitTests/coffee/History/HistoryControllerTests.coffee index 0184782e45..e03189526a 100644 --- a/services/web/test/UnitTests/coffee/History/HistoryControllerTests.coffee +++ b/services/web/test/UnitTests/coffee/History/HistoryControllerTests.coffee @@ -31,7 +31,7 @@ describe "HistoryController", -> describe "for a project with project history", -> beforeEach -> - @ProjectDetailsHandler.getDetails = sinon.stub().callsArgWith(1, null, {overleaf:{history:{}}}) + @ProjectDetailsHandler.getDetails = sinon.stub().callsArgWith(1, null, {overleaf:{history:{display:true}}}) @HistoryController.selectHistoryApi @req, @res, @next it "should set the flag for project history to true", ->