blob: 51ef6aa1b3c9c83d74f2071b0d4aa04cfefae840 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
require 'puppetlabs_spec_helper/module_spec_helper'
require 'rspec-puppet-facts'
Dir[File.expand_path("../support/**/*.rb", __FILE__)].each { |f| require f }
include RspecPuppetFacts
RSpec.configure do |c|
c.before do
# avoid "Only root can execute commands as other users"
Puppet.features.stubs(:root? => true)
end
end
at_exit { RSpec::Puppet::Coverage.report! }
|