From: John Wilger Date: 2006-08-06T05:09:20+09:00 Subject: Re: why can't I catch this exception? On 8/5/06, Rob Sanheim wrote: > I realize assert_raises _should_ rescue it, but then it should either > pass or fail based on the class of the exception. My main issue is > that the program just exits, with out success or failure for that test > class. So its basically as if it was calling exit (which its not). Ah, OK. I misunderstood and simply thought that you had a test that was passing when you expected it to fail. I tried out your example on my OSX system (ruby 1.8.4, compiled form src). I had the same result both with the latest release of Rails and after freezing to edge Rails. Not much help, I know -- but it's not just you, FWIW. -- Regards, John Wilger http://johnwilger.com ----------- Alice came to a fork in the road. "Which road do I take?" she asked. "Where do you want to go?" responded the Cheshire cat. "I don't know," Alice answered. "Then," said the cat, "it doesn't matter." - Lewis Carrol, Alice in Wonderland