[rspec-users] Webrat visits fails, but works in browser

Bart Zonneveld loop at superinfinite.com
Fri Jul 25 08:56:15 EDT 2008

On 25 jul 2008, at 10:11, Christopher Bailey wrote:

> I'm wondering if folks have suggestions for how I can debug the
> following problem.  I have some RSpec Stories that use WebRat, and do
> a "visits hotels_path" type of  thing.  It is failing, yet the page
> works fine in the browser.  I'm trying to figure out how to go about
> looking into why Webrat fails.  The error it puts out looks like:


Just look in yout log/test.log. That usually has a lot more info than  
the output from webrat.

good luck,

More information about the rspec-users mailing list