spec_helper.rb 347 Bytes
Newer Older
1
# https://puppetlabs.com/blog/testing-modules-in-the-puppet-forge
varac's avatar
varac committed
2
require 'puppetlabs_spec_helper/module_spec_helper'
3

varac's avatar
varac committed
4
fixture_path = File.expand_path(File.join(__FILE__, '..', 'fixtures'))
5

varac's avatar
varac committed
6
RSpec.configure do |c|
7

varac's avatar
varac committed
8
9
  c.manifest_dir = File.join(fixture_path, 'manifests')
  c.module_path  = File.join(fixture_path, 'modules')
10

varac's avatar
varac committed
11
  c.color = true
12
end