Project

General

Profile

« Previous | Next » 

Revision 2a616445

Added by Justin Sherrill almost 10 years ago

Refs #5029 - specify inital org and location

View differences:

modules/postgresql/spec/spec_helper.rb
c.include PuppetlabsSpec::Files
c.before :each do
# Ensure that we don't accidentally cache facts and environment
# between test cases.
Facter::Util::Loader.any_instance.stubs(:load_all)
Facter.clear
Facter.clear_messages
# Store any environment variables away to be restored later
@old_env = {}
ENV.each_key {|k| @old_env[k] = ENV[k]}
......
def param(type, title, param)
param_value(catalogue, type, title, param)
end
# With rspec-puppet v2.0 this allows coverage checks.
#at_exit { RSpec::Puppet::Coverage.report! }

Also available in: Unified diff