Class: MiniTest::Unit::TestCase
- Inherits:
-
Object
- Object
- MiniTest::Unit::TestCase
- Extended by:
- Nutrasuite::ContextHelpers
- Defined in:
- lib/nutrasuite/contexts.rb,
lib/nutrasuite/contexts.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name) ⇒ TestCase
constructor
A new instance of TestCase.
Methods included from Nutrasuite::ContextHelpers
after, before, build_test, it, it_eventually
Constructor Details
#initialize(name) ⇒ TestCase
Returns a new instance of TestCase.
218 219 220 221 222 223 |
# File 'lib/nutrasuite/contexts.rb', line 218 def initialize name @__name__ = name @__io__ = nil @passed = nil @@current = self end |
Class Method Details
.current ⇒ Object
225 226 227 |
# File 'lib/nutrasuite/contexts.rb', line 225 def self.current @@current ||= nil end |