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

RSpec.configure do |c|

  c.module_path = File.expand_path(File.join(File.dirname(__FILE__), '..', '..'))
  c.color = true

  #Puppet.features.stubs(:root? => true)

end