4 # Edge rails (r8664) introduces class-wide setup & teardown callbacks for Test::Unit::TestCase.
5 # Make sure these still get run when running TestCases under rspec:
6 prepend_before(:each) do
7 run_callbacks :setup if respond_to?(:run_callbacks)
10 run_callbacks :teardown if respond_to?(:run_callbacks)