Sha256: 88a35c3659abc59c1ee70d657795b21e16aabfd73997bd407dfca6dedf0dd42f
Contents?: true
Size: 441 Bytes
Versions: 83
Compression:
Stored size: 441 Bytes
Contents
module Test module Unit class TestCase # Edge rails (r8664) introduces class-wide setup & teardown callbacks for Test::Unit::TestCase. # Make sure these still get run when running TestCases under rspec: prepend_before(:each) do run_callbacks :setup if respond_to?(:run_callbacks) end append_after(:each) do run_callbacks :teardown if respond_to?(:run_callbacks) end end end end
Version data entries
83 entries across 83 versions & 14 rubygems