diff options
author | Michael Hashizume <michael.hashizume@puppet.com> | 2023-02-14 14:41:13 -0800 |
---|---|---|
committer | Michael Hashizume <michael.hashizume@puppet.com> | 2023-02-14 14:41:13 -0800 |
commit | 3e48a3c78b00cc619020c97445525aaaca616f01 (patch) | |
tree | 416a59b0e44e6f7aaa85a7e4f3256e3854bbdbbf | |
parent | 95c8629295eefe08328f3b2d3770eeed8ba5e6f9 (diff) | |
download | puppet-cron_core-3e48a3c78b00cc619020c97445525aaaca616f01.tar.gz puppet-cron_core-3e48a3c78b00cc619020c97445525aaaca616f01.tar.bz2 |
(MODULES-11371) Add Vox Beaker gem
In acb57af, we updated the module according to PDK template 7.2.1,
which updated puppetlabs_spec_helper. The updated version of
puppetlabs_spec_helper removed the Beaker rake task, which we use
for acceptance testing.
This commit adds the voxpupuli-acceptance gem, which re-adds the
Beaker rake task.
-rw-r--r-- | Gemfile | 1 | ||||
-rw-r--r-- | Rakefile | 1 | ||||
-rw-r--r-- | spec/spec_helper_acceptance.rb | 1 |
3 files changed, 3 insertions, 0 deletions
@@ -49,6 +49,7 @@ end group :system_tests do gem "puppet_litmus", '< 1.0.0', require: false, platforms: [:ruby] gem "serverspec", '~> 2.41', require: false + gem "voxpupuli-acceptance" end puppet_version = ENV['PUPPET_GEM_VERSION'] @@ -7,6 +7,7 @@ require 'puppet-syntax/tasks/puppet-syntax' require 'puppet_blacksmith/rake_tasks' if Bundler.rubygems.find_name('puppet-blacksmith').any? require 'github_changelog_generator/task' if Bundler.rubygems.find_name('github_changelog_generator').any? require 'puppet-strings/tasks' if Bundler.rubygems.find_name('puppet-strings').any? +require 'voxpupuli/acceptance/rake' def changelog_user return unless Rake.application.top_level_tasks.include? "changelog" diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index 57c5b21..9922084 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -1,6 +1,7 @@ require 'beaker-rspec' require 'beaker/module_install_helper' require 'beaker/puppet_install_helper' +require 'voxpupuli/acceptance/spec_helper_acceptance' $LOAD_PATH << File.join(__dir__, 'acceptance/lib') |