Sha256: 6ef7c96d62331a28d13a88517d7006292808b6349cd8f0cf31bfe65098fc27a7
Contents?: true
Size: 400 Bytes
Versions: 6
Compression:
Stored size: 400 Bytes
Contents
require 'mocha/mock' module Mocha # :nodoc: # Extends #method_missing on Mocha::Mock to record Invocations. class Mock # :nodoc: alias_method :method_missing_without_invocation, :method_missing def method_missing(symbol, *arguments, &block) Mockery.instance.invocation(self, symbol, arguments) method_missing_without_invocation(symbol, *arguments, &block) end end end
Version data entries
6 entries across 6 versions & 2 rubygems