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