Skip to content

Commit

Permalink
puppetlabs_spec_helper: require 4.x and newer
Browse files Browse the repository at this point in the history
version 3 defines the beaker rake task. beaker-rspec defines that as
well, and that's the one we want to use. We need to ensure that we load
puppetlabs_spec_helper in version 4 (which doesn't have the beaker rake
task). Otherwise we end up with two tasks. Calling it will run both
which in turn will run all tests twice.
  • Loading branch information
bastelfreak committed Dec 18, 2022
1 parent 57b0eec commit f019b3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion voxpupuli-acceptance.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ Gem::Specification.new do |s|
s.add_runtime_dependency 'rspec-github', '~> 2.0'
s.add_runtime_dependency 'serverspec'
s.add_runtime_dependency 'winrm'
s.add_development_dependency 'puppetlabs_spec_helper', '>= 1.2.0'
s.add_development_dependency 'puppetlabs_spec_helper', '>= 4.0.0'
end

0 comments on commit f019b3a

Please sign in to comment.