[rspec-users] RecordNotFound bubbling thru to cucumber

Jeff Talbot jeff.a.talbot at gmail.com
Fri Feb 6 12:12:22 EST 2009


I have a controller action that raises a RecordNotFound exception if
you're not allowed to see something. In my global application
controller (application.rb), I catch these and render the 404
template. But when I run cucumber (using webrat), it's getting the
full stacktrace (the step blows up). Any ideas why? I have
consider_all_requests_local turned off in my test.rb.


More information about the rspec-users mailing list