pivotal/PivotalCoreKit — pull request #23 by mjstallard (2013-11-11 18:48:16+00:00)
Title: Adds a category on NSUserDefaults so that any user added keys are cleared out between spec runs.

We've implemented this so that rather than blowing away NSUserDefaults entirely between specs, we just remove anything that was set in the test block.

This was requested by @sweetleon who claimed he had already implemented it for several projects before. This should save someone approximately 20 minutes in the future (hopefully).