$OpenBSD: patch-spec_unit_util_config_spec_rb,v 1.2 2013/12/19 09:35:01 jasper Exp $
--- spec/unit/util/config_spec.rb.orig	Tue Dec 17 21:23:22 2013
+++ spec/unit/util/config_spec.rb	Thu Dec 19 10:03:19 2013
@@ -41,7 +41,7 @@ describe Facter::Util::Config do
     it "should return the default value for linux" do
       Facter::Util::Config.stubs(:is_windows?).returns(false)
       Facter::Util::Config.stubs(:windows_data_dir).returns(nil)
-      Facter::Util::Config.external_facts_dirs.should == ["/etc/facter/facts.d", "/etc/puppetlabs/facter/facts.d"]
+      Facter::Util::Config.external_facts_dirs.should == ["${SYSCONFDIR}/facter/facts.d", "/etc/puppetlabs/facter/facts.d"]
     end
 
     it "should return the default value for windows 2008" do
