All I want to do is set a session variable when I make a request.
Here's my code:
class ProjectIntegrationTest < ActionController::IntegrationTest
user = user_for_test
open_session do |thing|
Actually it is the above line that is raising the exception - there is
no user variable / method in scope here.
This code lois pretty strange - are you really trying to define
singleton methods on users?