class RSpec::Matchers::BuiltIn::BeFalsey

Not intended to be instantiated directly.
Provides the implementation for ‘be_falsey`.
@api private

def failure_message

Returns:
  • (String) -

Other tags:
    Api: - private
def failure_message
  "expected: falsey value\n     got: #{actual_formatted}"
end

def failure_message_when_negated

Returns:
  • (String) -

Other tags:
    Api: - private
def failure_message_when_negated
  "expected: truthy value\n     got: #{actual_formatted}"
end

def match(_, actual)

def match(_, actual)
  !actual
end