summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
blob: 381f972082f26133a95a8e19e94a9dc09ddbbcd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)