diff options
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 7909adca3..52aed5b62 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -34,3 +34,8 @@ Spec::Runner.configure do |config| # teardown() if respond_to? :teardown # end end + +# Set the confdir and vardir to gibberish so that tests +# have to be correctly mocked. +Puppet[:confdir] = "/dev/null" +Puppet[:vardir] = "/dev/null" |