开发者

Debug output from webrat

Are there any ways to see debug output from webrat on failed steps?

For example I get the following error:

The 'Test User' option was not found in the "user_id" select box (Webrat::NotFoundError)

I want to see HT开发者_如何学编程ML output that webrat is seeing, to figure out, where is the problem.


Ok, i figured it out myself. Webrat has save_and_open_page method, it saves HTML page to tmp/ dir and opens it in browser.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜