Can an employee be fired from their job for posting racist comments on Facebook?

In the Edcon Ltd case, an employee was dismissed for making a racist comment…