5
0
Derivar 0
module-inifile/spec/spec_helper_acceptance.rb
2015-06-11 16:49:46 -07:00

23 linhas
598 B
Ruby

require 'beaker-rspec/spec_helper'
require 'beaker-rspec/helpers/serverspec'
require 'beaker/puppet_install_helper'
run_puppet_install_helper
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
# Install module and dependencies
hosts.each do |host|
copy_root_module_to(host, :source => proj_root, :module_name => 'inifile')
end
end
c.treat_symbols_as_metadata_keys_with_true_values = true
end