Webrat and Rails: Using assert_contain after click_button gives me “You are being redirected”

前端 未结 4 1290
星月不相逢
星月不相逢 2020-12-15 00:22

I\'m writing an integration test for a rails application using webrat. After filling out a form, the user presses submit and an account is created.

click_but         


        
4条回答
  •  既然无缘
    2020-12-15 00:55

    There are some issues with rails 3 and webrat. Please see:

    http://baldowl.github.com/2010/12/06/coercing-cucumber-and-webrat-to-cooperate.html

提交回复
热议问题