diff options
author | mh <mh@immerda.ch> | 2014-10-12 12:18:05 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2014-10-12 12:18:05 +0200 |
commit | 9a5b4d4b56ce78d918ef6a978047bdc4d9bfb72a (patch) | |
tree | 01f57acdcfe233872eb496b2bafa1f7c3979f890 /spec/spec_helper.rb | |
parent | 5b8288629495c1b84a61880c9bcfef21e84b4b12 (diff) |
a first shot of tests
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) |