我需要在一个 cucumber 场景中更改 session 。
例如
Given session name is "1st unauthenticated user"
And make some things
Given session name is "2st unauthenticated user"
And make some other things
我找到了 solution ,但它不适用于 Rails 3、Cucumber 和 Capybara。还有其他解决方案吗?
最佳答案
关于ruby-on-rails - Cucumber:如何在 Rails 中切换 session (多 session ),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3772222/