DRY cleanup in the ChefSpec tests

There is a lot of repetition in the ChefSpec examples now. Those should be refactored somehow.