X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/22f84a3ea8bc39eb4cb91575d35dfca683336032..df110d7f86db5f05269a5e4ea372ec3357874833:/lib/authenticated_test_helper.rb?ds=sidebyside diff --git a/lib/authenticated_test_helper.rb b/lib/authenticated_test_helper.rb index a704035..83fc20c 100644 --- a/lib/authenticated_test_helper.rb +++ b/lib/authenticated_test_helper.rb @@ -1,7 +1,7 @@ module AuthenticatedTestHelper # Sets the current user in the session from the user fixtures. def login_as(user) - @request.session[:user] = user ? users(user).id : nil + @request.session[:user_id] = user ? users(user).id : nil end def content_type(type)