6

I have an "Internal server error" in one of my request specs (RSpec2 and Capybara), and I just don't know where to get more information about it. I've taken a look at the test.log, but there's no particular info about the problem, there's info about Rails rendering a 500 message.

Is this normal behavior? Where can I find more info? Somewhere Rails has to tell me what's wrong, doesn't it?

Thanks a lot for help, this one is driving me nuts.

4

1 回答 1

4

不幸的是,这是正常行为。然而,好消息是许多人似乎已经找到了某些解决方法。请参阅: 使用 capybara 和 selenium 获取要显示的 Rails 异常

此外,您可以看到这里讨论的问题:https ://github.com/jnicklas/capybara/issues/303

于 2013-04-11T20:34:54.690 回答