1 require 'puppetlabs_spec_helper/module_spec_helper'
4 c.treat_symbols_as_metadata_keys_with_true_values = true
7 # Ensure that we don't accidentally cache facts and environment
9 Facter::Util::Loader.any_instance.stubs(:load_all)
13 # Store any environment variables away to be restored later
15 ENV.each_key {|k| @old_env[k] = ENV[k]}
17 if ENV['STRICT_VARIABLES'] == 'yes'
18 Puppet.settings[:strict_variables]=true
23 shared_examples :compile, :compile => true do
24 it { should compile.with_all_deps }