Problem with test-unit 2.1.2 and self.startup method

Hey,

I’ve got strange problem with self.startup method - it’s supposed to be
executed only once, but it seems like it’s not the case. This log is
from
running a single test file:

“Running AS::TestCase.startup”
“Running AS::TestCase.startup”
“Running AS::TestCase.startup”
“Running AS::TestCase.startup”
“Running AS::TestCase.startup”
“Running PayoutTest.startup before calling AS::TestCase.startup”
“Running AS::TestCase.startup”

I’ve got self.startup method defined in ActiveSupport::TestCase class
and in
PayoutTest class, which calls super. It seems that AC::TestCase.startup
is
called 5 times before PayoutTest.startup method is called… Any idea
what
can be wrong?

I’m using Ruby 1.9.2, test-unit 2.1.2 and Rails 3.0.4.rc1.

Cheers,
Szymon