Skip to content

Commit

Permalink
simplify spec_helper_acceptance.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed May 23, 2017
1 parent 6875a27 commit e8a38e4
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions spec/spec_helper_acceptance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,11 @@
require 'beaker/module_install_helper'

run_puppet_install_helper unless ENV['BEAKER_provision'] == 'no'
install_ca_certs unless ENV['PUPPET_INSTALL_TYPE'] =~ /pe/i
install_ca_certs unless ENV['PUPPET_INSTALL_TYPE'] =~ %r{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

# Configure all nodes in nodeset
c.before :suite do
hosts.each do |host|
copy_module_to(host, :source => proj_root, :module_name => 'ntp')
end
end
end

0 comments on commit e8a38e4

Please sign in to comment.