]> projects.mako.cc - selectricity-live/blobdiff - lib/authenticated_test_helper.rb
Pref_tables now use the Schulze ssd_result object, and they own't display if
[selectricity-live] / lib / authenticated_test_helper.rb
index a704035c023e2051f2978523225257f1d5e80bf3..83fc20cbcf5c7a4a8ccc1a66983d8e328b4ef686 100644 (file)
@@ -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)

Benjamin Mako Hill || Want to submit a patch?