Class: MiniTest::Unit::TestCase

Inherits:
Object
  • Object
show all
Extended by:
Nutrasuite::ContextHelpers
Defined in:
lib/nutrasuite/contexts.rb,
lib/nutrasuite/contexts.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Nutrasuite::ContextHelpers

after, before, build_test, it, it_eventually

Constructor Details

#initialize(name) ⇒ TestCase

Returns a new instance of TestCase.



219
220
221
222
223
224
# File 'lib/nutrasuite/contexts.rb', line 219

def initialize name
  @__name__ = name
  @__io__ = nil
  @passed = nil
  @@current = self
end

Class Method Details

.currentObject



226
227
228
# File 'lib/nutrasuite/contexts.rb', line 226

def self.current
  @@current ||= nil
end