Forum Discussion
Thanks for your reply. Yes, I have incorporated the additional code as well, but I wasn't positive about where it went. I tried several different options, but none seem to work.
Thanks for pointing out where to find the 'code' option.
I have edited my original post to reflect your suggestions. My IDE is Codio, and I'm using byebug for debugging
I don't know "Codio", so I let you dig their documentation 😅
Regarding the snippet I gave you about omniauth, you should put it in the
Before('@omniauth_test5') do
However Cucumber is not related to that. Make sure you can reproduce the behavior you want to test beside, like in a rails console for example.
I know that they are a few things to be careful with omniauth inside rails.
- karmaTrinlema4 years agoOccasional Contributor
Still not working. I just hoped that someone in this community had some experience with testing the failure route in Rails4. Obviously this isn't a cucumber issue, but it is a testing issue.
- aurelien-reeves4 years agoStaff
You are using rails 4?
Which version of omniauth are you using?
Maybe there is some kind of incompatibility between all those dependencies
karmaTrinlema wrote:
(...) I just hoped that someone in this community had some experience with testing the failure route in Rails4. Obviously this isn't a cucumber issue, but it is a testing issue.
Yes, of course, and you are welcome to ask. I just wanted to make sure we agree with that 🙂
Related Content
- 2 years ago
- 5 years ago