Class: Test::Unit::TestCase

Inherits:
Object
  • Object
show all
Includes:
SpecUnit::AssertHelper, SpecUnit::ContextHelper
Defined in:
lib/spec-unit/context_helper.rb,
lib/spec-unit/should_helper.rb,
lib/spec-unit/assert_helper.rb

Instance Method Summary collapse

Methods included from SpecUnit::AssertHelper

assert_helper, included

Methods included from SpecUnit::ContextHelper

assert_helper, included

Instance Method Details

#old_runObject



162
# File 'lib/spec-unit/should_helper.rb', line 162

alias_method :old_run, :run

#run(*args, &block) ⇒ Object



163
164
165
166
# File 'lib/spec-unit/should_helper.rb', line 163

def run(*args, &block)
  $spec_unit_test = self
  old_run(*args, &block)
end