X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/22f84a3ea8bc39eb4cb91575d35dfca683336032..73f1c8f028bb366d3d8d982084fa777181bce5b5:/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)