test/support/integration_helpers.rb
# attempt to login the user with a bad password. This will exercise all the Warden Hooks
# @param user [User]
# @param session [ActionDispatch::Integration::Session]
# @return [void]
attempt to login the user with a bad password. This will exercise all the Warden Hooks
attempt to login the user with a bad password . This will exercise all the Warden Hooks
def failed_sign_in(user, session)
    session.post new_user_session_path, params: {
      user: {
        email: user.email,
        password: 'bad-password',
      },
    }
  end
def failed_sign_in ( user , session ) session . post new_user_session_path , params : { user : { email : user . email , password : 'bad-password' , } , } end
attempt to login the user with a bad password.
attempt to login the user with a bad password .
None
void
user
session
None