Ruby 1.9.2 test Unit

I’m migrating my code to from 1.8.7 and I had before something like
class TestCase < Test::Unit::TestCase
undef_method :default_test

but now I get this error:
undef_method': undefined methoddefault_test’

any idea how to solve this problem?

Test::Unit::TestCase#default_test doesn’t exist in 1.9.*.
http://apidock.com/ruby/Test/Unit/TestCase/default_test

So, no need for your test to undefine it.

Thanks!!

C. Zona wrote in post #1028861:

Test::Unit::TestCase#default_test doesn’t exist in 1.9.*.
default_test (Test::Unit::TestCase) - APIdock

So, no need for your test to undefine it.