It's is a well-known "fact" that companies can be sued for giving a bad employment reference about a former employee and that, because of this, many HR departments refuse to give any type of reference other than simply confirming employment dates.
However, has there actually ever even been a case where the former employee sued, much less won, simply for giving a bad, but truthful, reference?