summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xspec/unit/util/storage.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/unit/util/storage.rb b/spec/unit/util/storage.rb
index 55d1d1f61..90625bd71 100755
--- a/spec/unit/util/storage.rb
+++ b/spec/unit/util/storage.rb
@@ -85,6 +85,10 @@ describe Puppet::Util::Storage do
end
describe "when loading from the state file" do
+ before(:each) do
+ Puppet.settings.stubs(:use).returns(true)
+ end
+
describe "when the state file/directory does not exist" do
before(:each) do
transient = Tempfile.new('storage_test')