class RSpec::Matchers::BuiltIn::YieldControl

def failure_message_when_negated

Returns:
  • (String) -

Other tags:
    Api: - private
def failure_message_when_negated
  'expected given block not to yield control' + failure_reason
end