Skip to content

Commit 148316e

Browse files
committed
(MODULES-11371) Add Vox Beaker gem
In 057188e, 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.
1 parent 2a37a14 commit 148316e

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ end
4949
group :system_tests do
5050
gem "puppet_litmus", '< 1.0.0', require: false, platforms: [:ruby]
5151
gem "serverspec", '~> 2.41', require: false
52+
gem "voxpupuli-acceptance"
5253
end
5354

5455
puppet_version = ENV['PUPPET_GEM_VERSION']

Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ require 'puppet-syntax/tasks/puppet-syntax'
77
require 'puppet_blacksmith/rake_tasks' if Bundler.rubygems.find_name('puppet-blacksmith').any?
88
require 'github_changelog_generator/task' if Bundler.rubygems.find_name('github_changelog_generator').any?
99
require 'puppet-strings/tasks' if Bundler.rubygems.find_name('puppet-strings').any?
10+
require 'voxpupuli/acceptance/rake'
1011

1112
def changelog_user
1213
return unless Rake.application.top_level_tasks.include? "changelog"

spec/spec_helper_acceptance.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
require 'beaker-rspec'
22
require 'beaker/module_install_helper'
33
require 'beaker/puppet_install_helper'
4+
require 'voxpupuli/acceptance/spec_helper_acceptance'
45

56
def beaker_opts
67
{ debug: true, trace: true, expect_failures: true, acceptable_exit_codes: (0...256) }

0 commit comments

Comments
 (0)