Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Allow weak SSL verification for apt_key
[puppet-modules/puppetlabs-apt.git]
/
spec
/
spec_helper.rb
diff --git
a/spec/spec_helper.rb
b/spec/spec_helper.rb
index 149ff0337aeffe7198ab371816a123f3d7e0875f..1f8b6b4bcb859b551fddc87d454b9397e03691a9 100644
(file)
--- a/
spec/spec_helper.rb
+++ b/
spec/spec_helper.rb
@@
-23,7
+23,7
@@
default_fact_files.each do |f|
next unless File.exist?(f) && File.readable?(f) && File.size?(f)
begin
next unless File.exist?(f) && File.readable?(f) && File.size?(f)
begin
- default_facts.merge!(YAML.safe_load(File.read(f)))
+ default_facts.merge!(YAML.safe_load(File.read(f)
, [], [], true
))
rescue => e
RSpec.configuration.reporter.message "WARNING: Unable to load #{f}: #{e}"
end
rescue => e
RSpec.configuration.reporter.message "WARNING: Unable to load #{f}: #{e}"
end