Sha256: 33199cb791b61c8eda57841d871c8a05e1efdd4bd05d5e8cd6a817b54807b147
Contents?: true
Size: 243 Bytes
Versions: 1
Compression:
Stored size: 243 Bytes
Contents
module Mocktail class GathersCallsOfMethod extend T::Sig def gather(dry_call) Mocktail.cabinet.calls.select { |call| call.double == dry_call.double && call.method == dry_call.method } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mocktail-2.0.0 | lib/mocktail/verifies_call/raises_verification_error/gathers_calls_of_method.rb |