Sha256: ebd1653d3079cbc07f6bcd04d6c45ca0f520edda128215e3d24ada34c145a72e
Contents?: true
Size: 388 Bytes
Versions: 42
Compression:
Stored size: 388 Bytes
Contents
module Spec module Matchers class Exist def matches? actual @actual = actual @actual.exist? end def failure_message "expected #{@actual.inspect} to exist, but it doesn't." end def negative_failure_message "expected #{@actual.inspect} to not exist, but it does." end end def exist; Exist.new; end end end
Version data entries
42 entries across 42 versions & 7 rubygems