Update deprecated syntax.

Per the discussion in ChefSpec: https://github.com/sethvargo/chefspec/issues/368