summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
blob: 3cca63aec972104aabbc9a6ba3594cc56385d235 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# https://puppetlabs.com/blog/testing-modules-in-the-puppet-forge
require 'puppetlabs_spec_helper/module_spec_helper'

fixture_path = File.expand_path(File.join(__FILE__, '..', 'fixtures'))

RSpec.configure do |c|

  c.manifest_dir = File.join(fixture_path, 'manifests')
  c.module_path  = File.join(fixture_path, 'modules')

  c.color = true
end