[rspec-users] rescue_from failing to rescue [from]

RSL ___ lists at ruby-forum.com
Thu Aug 21 14:32:11 EDT 2008


Apparently this is documented behavior and can be fixed with 
@controller.use_rails_error_handling! though I'm not sure why they're 
suddenly failing now [since use_rails_error_handling! has been in 
rspec-rails since June of last year, heh] but I'm not looking this gift 
horse in the mouth.

RSL

RSL ___ wrote:
> Having some weird failures of rescue_from in all my specs. They still
> rescue in actual usage, just not in my specs. Made a pastie of the code:
> http://pastie.org/257399 This is with latest [as of 1:00 PM Eastern time
> zone] rspec/rspec-rails/edge. Thanks in advance for any replies on this.
> 
> RSL
-- 
Posted via http://www.ruby-forum.com/.


More information about the rspec-users mailing list