Sha256: 84413c7874721092d0f2c4e4fc719a9f6f8d4f76ffb23d56ae9a34cc86c4edf8

Contents?: true

Size: 279 Bytes

Versions: 10

Compression:

Stored size: 279 Bytes

Contents

module Mocha

  module MonkeyPatching

    module TestUnit

      class AssertionCounter

        def initialize(test_result)
          @test_result = test_result
        end

        def increment
          @test_result.add_assertion
        end

      end

    end

  end

end

Version data entries

10 entries across 8 versions & 3 rubygems

Version Path
challah-rolls-0.2.0 vendor/bundle/gems/mocha-0.12.2/lib/mocha/monkey_patching/test_unit/assertion_counter.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/mocha-0.12.2/lib/mocha/monkey_patching/test_unit/assertion_counter.rb
challah-rolls-0.1.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/mocha-0.12.2/lib/mocha/monkey_patching/test_unit/assertion_counter.rb
challah-rolls-0.1.0 vendor/bundle/gems/mocha-0.12.2/lib/mocha/monkey_patching/test_unit/assertion_counter.rb
challah-0.8.0.pre vendor/bundle/gems/mocha-0.12.2/lib/mocha/monkey_patching/test_unit/assertion_counter.rb
challah-0.7.1 vendor/bundle/gems/mocha-0.12.2/lib/mocha/monkey_patching/test_unit/assertion_counter.rb
challah-0.7.0 vendor/bundle/gems/mocha-0.12.2/lib/mocha/monkey_patching/test_unit/assertion_counter.rb
challah-0.7.0.pre2 vendor/bundle/gems/mocha-0.12.2/lib/mocha/monkey_patching/test_unit/assertion_counter.rb
challah-0.7.0.pre vendor/bundle/gems/mocha-0.12.2/lib/mocha/monkey_patching/test_unit/assertion_counter.rb
mocha-0.12.2 lib/mocha/monkey_patching/test_unit/assertion_counter.rb