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.



210
211
212
213
214
215
# File 'lib/nutrasuite/contexts.rb', line 210

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

Class Method Details

.currentObject



217
218
219
# File 'lib/nutrasuite/contexts.rb', line 217

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