Class: Test::Unit::TestCase

Inherits:
Object
  • Object
show all
Defined in:
lib/test_belt/skip.rb

Instance Method Summary collapse

Instance Method Details

#add_error(*args, &block) ⇒ Object



5
6
7
8
9
# File 'lib/test_belt/skip.rb', line 5

def add_error(*args, &block)
  unless args.first.kind_of?(::TestBelt::TestSkipped)
    orig_add_error *args, &block
  end
end

#orig_add_errorObject



4
# File 'lib/test_belt/skip.rb', line 4

alias_method(:orig_add_error, :add_error)