From 53307edc5d58223267c6746941810fe22817ac5f Mon Sep 17 00:00:00 2001 From: markuszilch Date: Tue, 13 Feb 2024 01:08:49 +0100 Subject: [PATCH] replace spec_helper_acceptance with something more reasonable --- spec/spec_helper_acceptance.rb | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index 21ebeac..0ea5df2 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -1,19 +1,8 @@ -require 'beaker_puppet_helpers' +require 'voxpupuli/acceptance/spec_helper_acceptance' -hosts.each do |host| +configure_beaker do |host| # Install Puppet install_puppet_release_repo_on(host) -end - -RSpec.configure do |c| - c.formatter = :documentation - - # Configure all nodes in nodeset - c.before :suite do - # Install module - install_local_module on(host) - hosts.each do |host| - install_puppet_module_via_pmt_on(host, stdlib) - end - end + install_local_module on(host) + install_puppet_module_via_pmt_on(host, stdlib) end