summaryrefslogtreecommitdiffstats
path: root/spec/unit/util/storage_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/util/storage_spec.rb')
-rwxr-xr-xspec/unit/util/storage_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/util/storage_spec.rb b/spec/unit/util/storage_spec.rb
index 90c11aa69..575ad1ef3 100755
--- a/spec/unit/util/storage_spec.rb
+++ b/spec/unit/util/storage_spec.rb
@@ -8,7 +8,7 @@ describe Puppet::Util::Storage do
include PuppetSpec::Files
before(:all) do
- @basepath = Puppet.features.posix? ? "/somepath" : "C:/somepath"
+ @basepath = make_absolute("/somepath")
Puppet[:statedir] = tmpdir("statedir")
end