[rspec-users] Webrat visits fails, but works in browser
chris at cobaltedge.com
Fri Jul 25 04:11:52 EDT 2008
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:
1) Add and edit hotels (View all hotels) FAILED
RuntimeError: Page load was not successful (Code: 0)
/Users/chris/Code/project/stories/steps/hotel_steps.rb:37:in `view all hotels'
I'm using the very latest webrat (was also using a version from
several weeks ago and this happened too, so I updated to see if that
made a difference). Any suggestions welcome, thanks.
Cobalt Edge LLC
More information about the rspec-users