summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/files.rb
diff options
context:
space:
mode:
authorMarkus Roberts <Markus@reality.com>2009-09-18 16:12:08 -0700
committerJames Turnbull <james@lovedthanlost.net>2009-09-22 09:31:19 +1000
commita5950339f43e08516130ff0b7463dbe3fa925890 (patch)
tree3c1f4b60f2310e5133311433fe10f954e72e3d01 /lib/puppet/parser/files.rb
parenta951163d3d8a52fff4f0340b4ed1e827f2399147 (diff)
downloadpuppet-a5950339f43e08516130ff0b7463dbe3fa925890.tar.gz
puppet-a5950339f43e08516130ff0b7463dbe3fa925890.tar.xz
puppet-a5950339f43e08516130ff0b7463dbe3fa925890.zip
Fix for #2654 (error generating error message)
Since required_features can (and frequently does) return a single item instead of an Array, the error message needed to be more robust. The tests were not specific enough to catch the fact that an error was being raised in the generation of the error, so a more specific test was added and the required_features accessor test was beefed up a little. Signed-off-by: Markus Roberts <Markus@reality.com> Signed-off-by: Markus Roberts <Markus@reality.com>
Diffstat (limited to 'lib/puppet/parser/files.rb')
0 files changed, 0 insertions, 0 deletions