阅读背景:

如何使用Cucumber和Webrat检查表单是否预先填充了值?

来源:互联网 

I am learning Cucumber and Webrat with Rails and would like some advice on the best way to test an "edit" form. When I browse to a user's profile I am presented with an edit form with the user's information pre-populated in the form fields. I would like to be able to test that the fields do in fact contain the information I expect. Here's my scenario:I am learning Cucumber and Webrat with Rails an




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: