Flowdock
method

retrieve_mocha_counter

Importance_0
v3.0.0 - Show latest stable - 0 notes - Class: ActiveSupport::Testing::SetupAndTeardown::ForClassicTestUnit
retrieve_mocha_counter(result) protected

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/testing/setup_and_teardown.rb, line 98
        def retrieve_mocha_counter(result) #:nodoc:
          if respond_to?(:mocha_verify) # using mocha
            if defined?(Mocha::TestCaseAdapter::AssertionCounter)
              Mocha::TestCaseAdapter::AssertionCounter.new(result)
            else
              Mocha::Integration::TestUnit::AssertionCounter.new(result)
            end
          end
        end
Register or log in to add new notes.