Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: b25a987cca
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (11 sloc) 0.4 kb
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
Jump to Line
Something went wrong with that request. Please try again.