From 3eaf6c5d8e9991d56481076cd87bb23928af4985 Mon Sep 17 00:00:00 2001 From: Alasdair Smith Date: Tue, 14 Nov 2017 11:38:46 +0000 Subject: [PATCH] Stub V1 project getter --- .../test/UnitTests/coffee/Project/ProjectControllerTests.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/services/web/test/UnitTests/coffee/Project/ProjectControllerTests.coffee b/services/web/test/UnitTests/coffee/Project/ProjectControllerTests.coffee index 14b7fa3c99..2111abc085 100644 --- a/services/web/test/UnitTests/coffee/Project/ProjectControllerTests.coffee +++ b/services/web/test/UnitTests/coffee/Project/ProjectControllerTests.coffee @@ -389,6 +389,7 @@ describe "ProjectController", -> @TagsHandler.getAllTags.callsArgWith(1, null, @tags, {}) @NotificationsHandler.getUserNotifications = sinon.stub().callsArgWith(1, null, @notifications, {}) @ProjectGetter.findAllUsersProjects.callsArgWith(2, null, @allProjects) + @V1ProjectGetter.findAllUsersProjects.callsArg(1) # Without integration module cb returns without args it "should render the project/list page", (done)-> @res.render = (pageName, opts)=>