title: Overwriting Rails Test Test::Unit::TestCase
body: <p>I am trying to overwrite/modify the teardown function of a Test::Unit::TestCase test.
  During the teardown of the test (after it has finished), I want to do some extra stuff.</p>
  
  <p>I tried this, but it doesn't work (keeps executing the original teardown):</p>
  
  <pre><code>module Test
    module Unit
      class TestCase
          def teardown_modified
            # do modifications
            teardown_original
          end
  
          alias teardown_original teardown
          alias teardown teardown_modified
        end
    end
  end
  </code></pre>