summaryrefslogtreecommitdiff
path: root/spec/functions/loadjson_spec.rb
AgeCommit message (Collapse)Author
2017-03-03(FM-6063) - Unit tests for high effort functionsPaula McMaw
2017-02-04Allow test module metadata.json to be readDominic Cleal
Since puppetlabs/puppet@f2e8e66, the test module's metadata.json is also read causing expectation failures. Like 5c51463, permit it to be read by Puppet.
2017-01-24(MODULES-4098) Sync the rest of the filesHunter Haugen
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