summaryrefslogtreecommitdiffstats
path: root/spec/unit/type/tidy_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/type/tidy_spec.rb')
-rwxr-xr-xspec/unit/type/tidy_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/unit/type/tidy_spec.rb b/spec/unit/type/tidy_spec.rb
index cb030634b..bf892e836 100755
--- a/spec/unit/type/tidy_spec.rb
+++ b/spec/unit/type/tidy_spec.rb
@@ -5,8 +5,10 @@ require 'puppet/file_bucket/dipper'
tidy = Puppet::Type.type(:tidy)
describe tidy do
+ include PuppetSpec::Files
+
before do
- @basepath = Puppet.features.posix? ? "/what/ever" : "C:/tmp"
+ @basepath = make_absolute("/what/ever")
Puppet.settings.stubs(:use)
# for an unknown reason some of these specs fails when run individually