Sha256: b36425261660c3697ef61ea70ab29766b492937f8d753b5ae3e3e0ff40c791db

Contents?: true

Size: 905 Bytes

Versions: 21

Compression:

Stored size: 905 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

  # Detect cases in which no examples are executed (e.g., nodeset does not
  # have hosts with required roles)
  c.fail_if_no_examples = true

  # Readable test descriptions
  c.formatter = :documentation

  c.before :suite do
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
simp-rake-helpers-5.22.1 spec/spec_helper_acceptance.rb
simp-rake-helpers-5.22.0 spec/spec_helper_acceptance.rb
simp-rake-helpers-5.21.0 spec/spec_helper_acceptance.rb
simp-rake-helpers-5.20.0 spec/spec_helper_acceptance.rb
simp-rake-helpers-5.19.2 spec/spec_helper_acceptance.rb
simp-rake-helpers-5.19.0 spec/spec_helper_acceptance.rb
simp-rake-helpers-5.18.0 spec/spec_helper_acceptance.rb
simp-rake-helpers-5.17.1 spec/spec_helper_acceptance.rb
simp-rake-helpers-5.17.0 spec/spec_helper_acceptance.rb
simp-rake-helpers-5.16.0 spec/spec_helper_acceptance.rb
simp-rake-helpers-5.15.0 spec/spec_helper_acceptance.rb
simp-rake-helpers-5.14.0 spec/spec_helper_acceptance.rb
simp-rake-helpers-5.13.2 spec/spec_helper_acceptance.rb
simp-rake-helpers-5.13.1 spec/spec_helper_acceptance.rb
simp-rake-helpers-5.13.0 spec/spec_helper_acceptance.rb
simp-rake-helpers-5.12.7 spec/spec_helper_acceptance.rb
simp-rake-helpers-5.12.6 spec/spec_helper_acceptance.rb
simp-rake-helpers-5.12.5 spec/spec_helper_acceptance.rb
simp-rake-helpers-5.12.4 spec/spec_helper_acceptance.rb
simp-rake-helpers-5.12.3 spec/spec_helper_acceptance.rb