Forum: Ruby on Rails rescue_from and assert_raise

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
141eb0f230986785c8846181e8911330?d=identicon&s=25 Michael Irwin (Guest)
on 2008-10-24 18:15
(Received via mailing list)
Since commit 5e3517ea7b9fbd460f772bffc9212d882011f2bc, rescue_from is
now being handled in tests.  I've been using rescue_from to handle
custom exceptions and testing that those exceptions are raised in
functional tests with assert_raise.  This no longer works now.  What's
the proper way to test this now?
141eb0f230986785c8846181e8911330?d=identicon&s=25 Michael Irwin (Guest)
on 2008-11-04 14:17
(Received via mailing list)
Anyone have any input on this?
This topic is locked and can not be replied to.