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

.countObject



11
12
13
# File 'lib/minitest/bacon.rb', line 11

def self.count
  Minitest::Spec.current.assertions
end

.pokeObject



7
8
9
# File 'lib/minitest/bacon.rb', line 7

def self.poke
  Minitest::Spec.current.assertions += 1
end