Cucumber not storing session past first page view
I am going through this situation: Rails, Cucumber, Capybara: session is not persisted
There wasn't a开发者_运维技巧 chosen answer on that page, and each posted answer didn't work for me, so I will try to expand on the problem a bit. Cucumber/Capybara tends to only keep the session around for one page view. If you try traversing past the first page, you immediately get redirected to the login page. The session doesn't persist and Capybara is forced to log out.
I visited this article: http://blog.ardes.com/2010/4/28/capybara-and-rack-test-sessions-and-http-methods and have found no luck as my paths were already starting with forward slashes.
Anyone have any 2 cents about this issue? Thanks!
精彩评论