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.
4f9f4647eb2eeb37f4b5a577c4aca918?d=identicon&s=25 Andrew Tanner (Guest)
on 2006-05-10 23: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.