opscode/chef — pull request #813 by danielsdeleo (2013-06-10 23:34:20+00:00)
Title: Prevent integration tests from loading real config

knife integration tests were picking up default config and therefore
pointing at a chef-server other than the chef-zero test instance. This
could potentially lead to data loss or manglement if the test code
successfully runs against a production chef-server/org.

To prevent the above, load a dummy config file with an added failsafe
mechanism to ensure we've not loaded a real one.