From: David Schmitt Date: Mon, 11 Sep 2017 17:46:38 +0000 (+0100) Subject: Hack acceptance tests to actually run X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=49a8056288a346f463d2a70f43bec9a38ce46d10;p=puppet-modules%2Fpuppetlabs-apt.git 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. --- 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