spec_helper_local.rb 301 B

1234567891011121314
  1. RSpec.configure do |c|
  2. c.mock_with :rspec
  3. c.include PuppetlabsSpec::Files
  4. c.after :each do
  5. PuppetlabsSpec::Files.cleanup
  6. end
  7. end
  8. # Convenience helper for returning parameters for a type from the
  9. # catalogue.
  10. def param(type, title, param)
  11. param_value(catalogue, type, title, param)
  12. end