Sha256: 2d53a9fec353aeab4c0b337da5a90cce9e429b7028068a29dc13b34a3e8d2faa
Contents?: true
Size: 297 Bytes
Versions: 32
Compression:
Stored size: 297 Bytes
Contents
module Spec module Matchers # :call-seq: # should exist # should_not exist # # Passes if actual.exist? def exist(arg=nil) Matcher.new :exist do match do |actual| arg ? actual.exist?(arg) : actual.exist? end end end end end
Version data entries
32 entries across 32 versions & 11 rubygems