# File lib/authenticated_test_helper.rb, line 3
  def login_as(user)
    @request.session[:user] = user ? users(user).id : nil
  end