summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorWilson McCoubrey <wilson@puppet.com>2017-01-19 15:51:07 +0000
committerWilson McCoubrey <wilson@puppet.com>2017-01-19 15:51:07 +0000
commit08481d1e5bb24ce95ea0243deea3f41c6d1b1b67 (patch)
tree57323ac69fd89f39fba243aedb81b5961970c396 /spec
parent7ef19c6676b0f7fdb3f6db183b1949b5c7a0dfd3 (diff)
Implement beaker-module_install_helper
Diffstat (limited to 'spec')
-rwxr-xr-xspec/spec_helper_acceptance.rb9
1 files changed, 4 insertions, 5 deletions
diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb
index 8a1907f..89e64d4 100755
--- a/spec/spec_helper_acceptance.rb
+++ b/spec/spec_helper_acceptance.rb
@@ -1,15 +1,16 @@
#! /usr/bin/env ruby -S rspec
require 'beaker-rspec'
require 'beaker/puppet_install_helper'
+require 'beaker/module_install_helper'
UNSUPPORTED_PLATFORMS = []
run_puppet_install_helper
+install_ca_certs unless ENV['PUPPET_INSTALL_TYPE'] =~ /pe/i
+install_module_on(hosts)
+install_module_dependencies_on(hosts)
RSpec.configure do |c|
- # Project root
- proj_root = File.expand_path(File.join(File.dirname(__FILE__), '..'))
-
# Readable test descriptions
c.formatter = :documentation
@@ -19,8 +20,6 @@ RSpec.configure do |c|
default[:default_apply_opts] ||= {}
default[:default_apply_opts].merge!({:parser => 'future'})
end
-
- copy_root_module_to(default, :source => proj_root, :module_name => 'stdlib')
end
end