module-postgresql/spec/spec_helper_local.rb

15 lines
301 B
Ruby
Raw Normal View History

RSpec.configure do |c|
c.mock_with :rspec
c.include PuppetlabsSpec::Files
c.after :each do
PuppetlabsSpec::Files.cleanup
end
end
# Convenience helper for returning parameters for a type from the
# catalogue.
def param(type, title, param)
param_value(catalogue, type, title, param)
end