Sha256: 75b1c8c02a794256387b3bb56a812da723f0b18151ed223abb0a4d7eea39252d
Contents?: true
Size: 360 Bytes
Versions: 4
Compression:
Stored size: 360 Bytes
Contents
module DevelopWithPassion 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 end
Version data entries
4 entries across 4 versions & 1 rubygems