arena_app/test/test_helper.rb
def log_in_as(user, password: 'password', remember_me: '1')
    post login_path, params: { session: { email: user.email,
      password: password,
      remember_me: remember_me } }
    end
# Log in as a particular user.
Log in as a particular user.
Log in as a particular user .
def log_in_as(user, password: 'password', remember_me: '1')
    post login_path, params: { session: { email: user.email,
      password: password,
      remember_me: remember_me } }
    end
def log_in_as ( user , password : 'password' , remember_me : '1' ) post login_path , params : { session : { email : user . email , password : password , remember_me : remember_me } } end
Log in as a particular user.
Log in as a particular user .
user
password
remember_me