class RSpec::Core::Example::ExecutionResult

def issue_deprecation(_method_name, *_args)

def issue_deprecation(_method_name, *_args)
  RSpec.deprecate("Treating `metadata[:execution_result]` as a hash",
                  :replacement => "the attributes methods to access the data")
end