阅读背景:

当我运行功能测试时,如何在Ruby on Rails应用程序中禁用救援处理程序?

来源:互联网 

I have a number of controllers in my Ruby on Rails apps with a rescue handler at the end of the action that basically catches any unhandled errors and returns some kind of "user friendly" error. However, when I'm doing rake test I'd like to have those default rescue handlers disabled so I can see the full error & stack trace. Is there any automated way to do this?I have a number of controllers in my Ruby on Ra




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

分享到: