Parent

Methods

Class/Module Index [+]

Quicksearch

Mocha::Integration::AssertionCounter

Public Class Methods

new(test_case) click to toggle source
# File lib/mocha/integration/assertion_counter.rb, line 4
def initialize(test_case)
  @test_case = test_case
end

Public Instance Methods

increment() click to toggle source
# File lib/mocha/integration/assertion_counter.rb, line 8
def increment
  @test_case.assert(true)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.