spec_helper_system.rb #1

  • //
  • main/
  • guest/
  • perforce_software/
  • chronicle/
  • main/
  • manifests/
  • modules/
  • apache/
  • spec/
  • spec_helper_system.rb
  • View
  • Commits
  • Open Download .zip Download (652 B)
require 'rspec-system/spec_helper'
require 'rspec-system-puppet/helpers'

include RSpecSystemPuppet::Helpers

RSpec.configure do |c|
  # Project root
  proj_root = File.expand_path(File.join(File.dirname(__FILE__), '..'))

  # Enable colour
  c.tty = true

  c.include RSpecSystemPuppet::Helpers

  # This is where we 'setup' the nodes before running our tests
  c.before :suite do
    # Install puppet
    puppet_install

    # Install modules and dependencies
    puppet_module_install(:source => proj_root, :module_name => 'apache')
    shell('puppet module install ripienaar-concat')
    shell('puppet module install puppetlabs-stdlib')
  end
end

# Change User Description Committed
#1 16170 perforce_software Move Chronicle files to follow new path scheme for branching.
//guest/perforce_software/chronicle/manifests/modules/apache/spec/spec_helper_system.rb
#1 8972 Matt Attaway Initial add of the Chronicle source code