mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-30 21:31:21 +00:00
Stub V1 project getter
This commit is contained in:
parent
47942816ae
commit
3eaf6c5d8e
1 changed files with 1 additions and 0 deletions
|
@ -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)=>
|
||||
|
|
Loading…
Reference in a new issue