Sha256: aff70e539dbcea05d2797f6e986fd106094506ad6a5111905616f7611d44a01b
Contents?: true
Size: 298 Bytes
Versions: 17
Compression:
Stored size: 298 Bytes
Contents
module Rspec 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
17 entries across 17 versions & 1 rubygems