Files
puppetlabs-java/spec/spec_helper_acceptance.rb
Will Meek dec5136e11 Cleanup ruby code via rubocop
This commit will add code cleanup as corrected
and alerted by rubocop. It also adds rules to
execute rubocop on Travis.
2017-11-21 14:31:45 +00:00

21 lines
510 B
Ruby

require 'beaker-rspec'
require 'beaker/puppet_install_helper'
require 'beaker/module_install_helper'
run_puppet_install_helper
install_module_on(hosts)
install_module_dependencies_on(hosts)
UNSUPPORTED_PLATFORMS = %w[Darwin windows].freeze
unless ENV['RS_PROVISION'] == 'no' || ENV['BEAKER_provision'] == 'no'
hosts.each do |host|
install_puppet_module_via_pmt_on(host, module_name: 'puppetlabs-apt')
end
end
RSpec.configure do |c|
# Readable test descriptions
c.formatter = :documentation
end