You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

spec_helper.rb 395B

12345678910111213
  1. require 'puppet'
  2. require 'rubygems'
  3. require 'rspec-puppet'
  4. # get the value of a certain parameter
  5. def param_value(subject, type, title, param)
  6. subject.resource(type, title).send(:parameters)[param.to_sym]
  7. end
  8. RSpec.configure do |c|
  9. c.module_path = File.join(File.dirname(__FILE__), '../../')
  10. c.manifest_dir = File.expand_path(File.join(File.dirname(__FILE__), 'fixtures/manifests'))
  11. end