rackerlabs/ohai-plugins — pull request #48 by ryandub (2014-02-13 23:20:11+00:00)
Title: Add root environment paths to spec_helper for sudo

`Busser` runs tests using `sudo`. This causes an environment problem on `RHEL` and `CentOS` tests using vagrant because they only have the vagrant user's path `/usr/bin:/bin` which does not include binaries for Apache among other things.

This adds the proper paths to the test run so that `Ohai` can properly find everything.