puppetlabs/facter — pull request #365 by zaphod42 (2012-11-30 20:08:17+00:00)
Title: (Maint) Remove loader test dependence on ENV 

Previously the test for checking that `FACTER_*` environment variables get
turned into facts was sensitive to the actual environment variables with
which the test ran. This caused incorrect test failures if there was
such an environment variable during the test run. This changes the
loader to be able to be given the environment hash that it should look
at and changes the tests to stop relying on the environment for testing.