[rspec-users] RecordNotFound bubbling thru to cucumber
Matt Wynne
matt at mattwynne.net
Sun Feb 8 17:35:57 EST 2009
Which version of cucumber / webrat are you using?
On 6 Feb 2009, at 17:12, Jeff Talbot wrote:
> Hello,
>
> 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.
>
> Jeff
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
Matt Wynne
http://blog.mattwynne.net
http://www.songkick.com
More information about the rspec-users
mailing list