Rescue_from failing to rescue [from]

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

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs