diff options
author | mh <mh@immerda.ch> | 2016-01-28 00:55:26 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2016-01-28 00:55:26 +0100 |
commit | 8ca75f6d074b83ee48d9ce713cdb3e28e57d2cf8 (patch) | |
tree | 11ea8f3d49648e2a781f6d830babdbe8801fda35 /spec/spec_helper.rb | |
parent | 572fd99995e50591f3e774582937c28eb337aa00 (diff) |
update module to make it work with all the new features of trocla 0.2.2
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb new file mode 100644 index 0000000..381f972 --- /dev/null +++ b/spec/spec_helper.rb @@ -0,0 +1,13 @@ +require 'puppetlabs_spec_helper/module_spec_helper' +require 'rake' + +fixture_path = File.expand_path(File.join(__FILE__, '..', 'fixtures')) + +RSpec.configure do |c| + c.module_path = File.join(fixture_path, 'modules') + c.manifest_dir = File.join(fixture_path, 'manifests') + c.pattern = FileList[c.pattern].exclude(/^spec\/fixtures/) +end + +Puppet::Util::Log.level = :warning +Puppet::Util::Log.newdestination(:console) |