Sha256: de6fbbcf4f29c173ae03dcc410407b71a5d0f1de522cac904501c335026e8586
Contents?: true
Size: 332 Bytes
Versions: 192
Compression:
Stored size: 332 Bytes
Contents
class BeFalseMatcher def matches?(actual) @actual = actual @actual == false end def failure_message ["Expected #{@actual.inspect}", "to be false"] end def negative_failure_message ["Expected #{@actual.inspect}", "not to be false"] end end class Object def be_false BeFalseMatcher.new end end
Version data entries
192 entries across 168 versions & 4 rubygems