diff options
author | Josh Cooper <josh@puppet.com> | 2018-06-28 14:19:51 -0700 |
---|---|---|
committer | Josh Cooper <josh@puppet.com> | 2018-06-28 14:19:51 -0700 |
commit | 8f72965a90d8eb152e6770bcb0a012d75029a57f (patch) | |
tree | 15f3006fc5c29fd7790fd894eba363a2839c579b /spec/spec_helper_acceptance.rb | |
parent | 31d0eeeaec6e6745fc831ea2da53c9db83d72602 (diff) | |
download | puppet-augeas_core-8f72965a90d8eb152e6770bcb0a012d75029a57f.tar.gz puppet-augeas_core-8f72965a90d8eb152e6770bcb0a012d75029a57f.tar.bz2 |
Convert beaker tests to rspec
Add default nodeset for ubuntu 16.04
Diffstat (limited to 'spec/spec_helper_acceptance.rb')
-rw-r--r-- | spec/spec_helper_acceptance.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb new file mode 100644 index 0000000..848f7d9 --- /dev/null +++ b/spec/spec_helper_acceptance.rb @@ -0,0 +1,13 @@ +require 'beaker-rspec' +require 'beaker/module_install_helper' +require 'beaker/puppet_install_helper' + +RSpec.configure do |c| + c.before :suite do + unless ENV['BEAKER_provision'] == 'no' + run_puppet_install_helper + install_module_on(hosts_as('default')) + install_module_dependencies_on(hosts) + end + end +end |