开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜