Sha256: cab28da44b4d680c2d80543a4eaa35729f5e2aea284492955a711ff4778de9f2
Contents?: true
Size: 545 Bytes
Versions: 20
Compression:
Stored size: 545 Bytes
Contents
require 'mocha/mockery' require 'bourne/mock' require 'bourne/invocation' module Mocha # 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. class Mockery def invocation(mock, method_name, args) invocations << Invocation.new(mock, method_name, args) end def invocations @invocations ||= [] end end end
Version data entries
20 entries across 19 versions & 4 rubygems