@danielsdeleo don't we already do that here?
https://github.com/opscode/chef/blob/a448e38932bf3e804411b67d8c93907f8102c0a3/spec/unit/config_spec.rb#L291-L293