class Mocha::Mockery
Used internally by Bourne extensions to Mocha when recording invocations of stubbed and mocked methods. You shouldn't need to interact with this module through normal testing, but you can access the full list of invocations directly if necessary.
Public Instance Methods
invocation(mock, method_name, args)
click to toggle source
# File lib/bourne/mockery.rb, line 11 def invocation(mock, method_name, args) invocations << Invocation.new(mock, method_name, args) end
invocations()
click to toggle source
# File lib/bourne/mockery.rb, line 15 def invocations @invocations ||= [] end