Module: Minitest
- Defined in:
- lib/minitest/bacon.rb
Defined Under Namespace
Classes: Assertion, SelfMonad, Spec, ValueMonad
Constant Summary
collapse
- Shared =
{}
Class Method Summary
collapse
Class Method Details
11
12
13
|
# File 'lib/minitest/bacon.rb', line 11
def self.count
Minitest::Spec.current.assertions
end
|
7
8
9
|
# File 'lib/minitest/bacon.rb', line 7
def self.poke
Minitest::Spec.current.assertions += 1
end
|