From 49a8056288a346f463d2a70f43bec9a38ce46d10 Mon Sep 17 00:00:00 2001 From: David Schmitt Date: Mon, 11 Sep 2017 18:46:38 +0100 Subject: [PATCH] Hack acceptance tests to actually run This is using a local build of the puppet-resource_api gem. Modify as needed to get it to run in your local environment. --- spec/spec_helper_acceptance.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index 30eccbf..0057073 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -41,3 +41,8 @@ RSpec.configure do |c| # Readable test descriptions c.formatter = :documentation end + +if ENV['BEAKER_provision'] == 'yes' + scp_to(hosts, '/home/david/git/puppet-resource_api/pkg/puppet-resource_api-0.1.0.gem', '/tmp/puppet-resource_api-0.1.0.gem') + on(hosts, '/opt/puppetlabs/puppet/bin/gem install /tmp/puppet-resource_api-0.1.0.gem') +end -- 2.45.2