The rating agency S&P raised the credit rating of Tesla by two steps at once from B- to B+. The outlook is stable.