Fix up more session access

This commit is contained in:
Shane Kilkelly
2016-09-22 14:30:34 +01:00
parent c959e0c65d
commit ff1c72ee14
4 changed files with 21 additions and 13 deletions
@@ -34,6 +34,9 @@ describe "BetaProgramController", ->
err: sinon.stub()
error: sinon.stub()
}
'../Authentication/AuthenticationController': @AuthenticationController = {
getLoggedInUserId: sinon.stub().returns(@user._id)
}
@res =
send: sinon.stub()
redirect: sinon.stub()