From feee992b43a47d04bf36cb0179c2014bc221a585 Mon Sep 17 00:00:00 2001 From: Shane Kilkelly Date: Tue, 6 Mar 2018 10:13:39 +0000 Subject: [PATCH] Reverse an un-necessary re-arrangement of tests --- .../AuthenticationControllerTests.coffee | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/services/web/test/unit/coffee/Authentication/AuthenticationControllerTests.coffee b/services/web/test/unit/coffee/Authentication/AuthenticationControllerTests.coffee index 467e2165f6..92d2a7dbdb 100644 --- a/services/web/test/unit/coffee/Authentication/AuthenticationControllerTests.coffee +++ b/services/web/test/unit/coffee/Authentication/AuthenticationControllerTests.coffee @@ -185,16 +185,16 @@ describe "AuthenticationController", -> @req.login.callCount.should.equal 1 done() - it 'should call UserSessionsManager.trackSession', (done) -> - @call (err) => - @UserSessionsManager.trackSession.callCount.should.equal 1 - done() - it 'should call req.session.save', (done) -> @call (err) => @req.session.save.callCount.should.equal 1 done() + it 'should call UserSessionsManager.trackSession', (done) -> + @call (err) => + @UserSessionsManager.trackSession.callCount.should.equal 1 + done() + describe 'when req.session.save produces an error', -> beforeEach ->