diff options
author | varac <varacanero@zeromail.org> | 2015-12-07 14:31:42 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2015-12-07 14:31:42 +0100 |
commit | e12c5bfd6c9ff5d1dc5e14c227e8c15388ecb042 (patch) | |
tree | cbc48ac53a991425eb2cdd14f725516a00324de5 /spec/spec_helper.rb | |
parent | b6cb0285053a0ffd23082d7e63a87108ca0e3fbd (diff) | |
parent | a70c52c1d4f399c22fa6c71289031350a1da44b5 (diff) |
Merge remote-tracking branch 'shared/master' into leap_master
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb new file mode 100644 index 0000000..21d1a98 --- /dev/null +++ b/spec/spec_helper.rb @@ -0,0 +1,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 |