diff options
author | Adam Jahn <ajjahn@gmail.com> | 2015-04-11 16:42:26 -0400 |
---|---|---|
committer | Adam Jahn <ajjahn@gmail.com> | 2015-04-11 16:42:26 -0400 |
commit | 109024fd916b67aebf983427bde8b8761a8d2a97 (patch) | |
tree | 520c854fb196a48cbf5c1757546e235e5d9772ef /spec/spec_helper.rb | |
parent | 111bb7e83fd75f5c7e116d4d67e8c0a0eb627b17 (diff) | |
download | puppet-samba-109024fd916b67aebf983427bde8b8761a8d2a97.tar.gz puppet-samba-109024fd916b67aebf983427bde8b8761a8d2a97.tar.bz2 |
first set of specs
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb new file mode 100644 index 0000000..81f98ac --- /dev/null +++ b/spec/spec_helper.rb @@ -0,0 +1,8 @@ +require 'puppetlabs_spec_helper/module_spec_helper' + +RSpec.configure do |c| + c.before do + # avoid "Only root can execute commands as other users" + Puppet.features.stubs(:root? => true) + end +end |