summaryrefslogtreecommitdiffstats
path: root/spec/unit/type/file.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/type/file.rb')
-rwxr-xr-xspec/unit/type/file.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/unit/type/file.rb b/spec/unit/type/file.rb
index 0187cc41d..094596966 100755
--- a/spec/unit/type/file.rb
+++ b/spec/unit/type/file.rb
@@ -4,6 +4,8 @@ require File.dirname(__FILE__) + '/../../spec_helper'
describe Puppet::Type.type(:file) do
before do
+ Puppet.settings.stubs(:use)
+
@path = Tempfile.new("puppetspec")
pathname = @path.path
@path.close!()