 
 			beforeEach ->
 				@call = (callback) =>
-					@UserSessionsManager.revokeAllUserSessions null, [], callback
+					@UserSessionsManager.revokeAllUserSessions null, @retain, callback
 
 			it 'should not produce an error', (done) ->
 				@call (err) =>

				@rclient.exec.callCount.should.equal 1
				done()

		describe 'when rclient produces an error', ->

			beforeEach ->

	describe 'revokeAllUserSessions', ->

		beforeEach ->
			@sessionKeys = ['sess:one', 'sess:two']
			@retain = []
			@rclient.smembers.callsArgWith(1, null, @sessionKeys)
			@rclient.exec.callsArgWith(0, null)
			@call = (callback) =>
				@UserSessionsManager.revokeAllUserSessions @user, @retain, callback

		it 'should not produce an error', (done) ->
			@call (err) =>
