Forum: Ruby Re: Asserts in aggregate objects called by a Test::Unit::Tes

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Andrew Tanner (Guest)
on 2006-05-11 01:28
(Received via mailing list)
Thanks for the response Eric. I looked up add_assert but it didn't
really help that much since the aggregate object (SubAssertObj) is in a
diff context then the original TestStuff testcase.

However I did do something similar to your other suggestion. I threw the
validation code in a module and I'm now include'ing in my individual
testcases as needed.

Thanks again.
This topic is locked and can not be replied to.