summaryrefslogtreecommitdiff
path: root/spec/functions/loadjson_spec.rb
AgeCommit message (Collapse)Author
2016-07-01Fix load_module_metadata and loadjson tests to pass with fully deployed moduleDavid Schmitt
When replacing the lib/ and manifests/ symlinks in the fixtures with a proper top-level symlink, puppet 4 starts loading the metadata.json before loading functions, which confuses these tests. Added more specific expectations, and provide data for that call.
2016-04-26Add the default value to the "loadyaml" functionDmitry Ilyin
This value will be returned if the is no file to load or a file could not be parsed. It's similar to the "parseyaml" function's default value. Add the "loadjson" function too