Cucumber: how to switch sessions in Rails (multi-session)
I need to change session during one cucumb开发者_开发技巧er scenario.
For example
Given session name is "1st unauthenticated user"
And make some things
Given session name is "2st unauthenticated user"
And make some other things
I found a solution, but it doesn't work with Rails 3, Cucumber and Capybara. Are there any other solutions?
I found great article that help to solve this problem: http://tristandunn.com/2010/10/21/multiple-sessions-cucumber-selenium.html
精彩评论