Sha256: 9f4e6b436a39cb63133d30b3193fa6e83a675eeea5e14f8e256d78b5366201a9
Contents?: true
Size: 304 Bytes
Versions: 16
Compression:
Stored size: 304 Bytes
Contents
module Fakes module RSpec class ReceivedCriteria def initialize(the_call) @the_call = the_call end def is_satisfied_by(*args) return false if @the_call == nil return args.count == 0 ? true : @the_call.called_with(*args) != nil end end end end
Version data entries
16 entries across 16 versions & 1 rubygems