Testing the ApplicationController for assignments

Hi guys

I have sort of the same problem:

I get a "Symbol as array index" error when trying to read a session value such
as session[:user_id]

The only solution I could find by googling around is to append @request to
session: @request.session[:user_id]

- However this just gives an error saying that the @request object wasn't
initialised and so the call is interpreted as nil.session

Can anyone help?