Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where do I see the reason of a "Internal server error" when running Rails request specs?

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.

like image 753
Joshua Muheim Avatar asked Apr 11 '13 13:04

Joshua Muheim


1 Answers

That, unfortunately, is the normal behavior. However, the good news is that many people seem to have found certain workarounds. See: Get rails exceptions to show using capybara and selenium

Also, you can see the issue discussed here: https://github.com/jnicklas/capybara/issues/303

like image 95
Rebitzele Avatar answered Sep 22 '22 07:09

Rebitzele