class MotionSpec::Matcher::BeFalse

Public Instance Methods

fail!(subject, negated) click to toggle source
# File lib/motion-spec/matcher/be_false.rb, line 8
def fail!(subject, negated)
  message = FailMessageRenderer.message_for_be_false(negated, subject)
  fail FailedExpectation.new(message)
end
matches?(value) click to toggle source
# File lib/motion-spec/matcher/be_false.rb, line 4
def matches?(value)
  !value
end