authlogic flash[:notice] does not show up in cucumber webrat step

后端 未结 4 822
一个人的身影
一个人的身影 2021-01-26 02:30

I am running BDD steps with cucumber to implement my autlogic login behavior.

 Scenario: log in
Given a registered user: \"test@test.com\" with password: \"p@ssw         


        
4条回答
  •  盖世英雄少女心
    2021-01-26 02:56

    I believe this issue will be fixed in Rails 2.3.9. It has to do with setting both a cookie and a session in the same request. See this ticket for details.

    In the meantime you can use this gist as a temporary fix.

提交回复
热议问题