In all of these integration tests that I modified, the specs that failed were failing because the warning about switching the cache was being generated. I don't think anything actually gets written to these directories, based on the fact that the cache_path was getting switched to my home directory before the stub (because /var/chef isn't writable as non-root me) and is passing with the stub. I can add a comment...