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.
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
.current ⇒ Object
226 227 228 |
# File 'lib/nutrasuite/contexts.rb', line 226 def self.current @@current ||= nil end |