Project

General

Profile

« Previous | Next » 

Revision 7534cbe6

Added by Ewoud Kohl van Wijngaarden almost 3 years ago

Fix beaker task

In puppetlabs_spec_helper 4.x the beaker task was removed. This loads it from voxpupuli-aceptance.

View differences:

Rakefile
# This file is managed centrally by modulesync
# https://github.com/theforeman/foreman-installer-modulesync
require 'voxpupuli/test/rake'
# Attempt to load voxupuli-test (which pulls in puppetlabs_spec_helper),
# otherwise attempt to load it directly.
begin
require 'voxpupuli/test/rake'
rescue LoadError
begin
require 'puppetlabs_spec_helper/rake_tasks'
rescue LoadError
end
end
# We use fixtures in our modules, which is not the default
task :beaker => 'spec_prep'
# load optional tasks for acceptance
# only available if gem group releases is installed
begin
require 'voxpupuli/acceptance/rake'
rescue LoadError
else
# We use fixtures in our modules, which is not the default
task :beaker => 'spec_prep'
end
# blacksmith isn't always present, e.g. on Travis with --without development
begin

Also available in: Unified diff