Forum Discussion

karmaTrinlema's avatar
karmaTrinlema
Occasional Contributor
4 years ago

Is it possible to simulate failing omniauth request with cucumber?

I'm trying to get a cucumber test to follow the failure route in my sessions controller when making an omniauth request with invalid credentials:   match 'auth/failure', :to => 'sessions#failure', ...