Hi,
Is there a better way in RubyUnit to check that a method raises an
exception than doing:
assert( begin
myPotentiallyExceptionRaisingMethod(arg)
false
rescue
true
end
)
?
If not I propose that assert_raisesexception() is added to RubyUnit. Or
have anyone found a better way to accomplish this?
Regards,
Robert