Sha256: 3c21f74b1254d6d16e5d6c4753cfef6c299e44d3577d9d8196a91fc65f3b15b5

Contents?: true

Size: 762 Bytes

Versions: 3

Compression:

Stored size: 762 Bytes

Contents

require 'beaker-rspec'
require 'tmpdir'
require 'yaml'
require 'simp/beaker_helpers'
include Simp::BeakerHelpers

require 'acceptance/support/simp_rake_helpers'
$LOAD_PATH.unshift(File.expand_path('../acceptance/support',__FILE__))

unless ENV['BEAKER_provision'] == 'no'
  hosts.each do |host|
    # Install Puppet
    if host.is_pe?
      install_pe
    else
      install_puppet
    end
  end
end


RSpec.configure do |c|
  # provide helper methods to individual examples AND example groups
  c.include Simp::BeakerHelpers::SimpRakeHelpers
  c.extend Simp::BeakerHelpers::SimpRakeHelpers

  # ensure that environment OS is ready on each host
  fix_errata_on hosts

  # Readable test descriptions
  c.formatter = :documentation

  c.before :suite do
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
simp-rake-helpers-5.12.1 spec/spec_helper_acceptance.rb
simp-rake-helpers-5.12.0 spec/spec_helper_acceptance.rb
simp-rake-helpers-5.11.6 spec/spec_helper_acceptance.rb