diff options
author | Markus Roberts <Markus@reality.com> | 2009-12-29 11:14:44 -0800 |
---|---|---|
committer | Markus Roberts <Markus@reality.com> | 2009-12-29 11:14:44 -0800 |
commit | d1ff4b3fca31ee99276c26bc1df6391cfc79254a (patch) | |
tree | 71bccee1ce6fcac587b05486dc4d7dfd85f91fb3 /spec/unit/util/autoload.rb | |
parent | 4d815117672a6f27ff368c9485edb4edf49e63aa (diff) | |
download | puppet-d1ff4b3fca31ee99276c26bc1df6391cfc79254a.tar.gz puppet-d1ff4b3fca31ee99276c26bc1df6391cfc79254a.tar.xz puppet-d1ff4b3fca31ee99276c26bc1df6391cfc79254a.zip |
Fix for #2994 (undefined method "_file" message)
Attempting to call a constructed method name with a nil component
(the checksum type in this case) causes an unhelpful error message
in a case where either 1) the results were not needed anyway or 2)
a more useful error message would otherwise be generated. It also
opens (at least hypothetically) then possibility that some unrelated
method (in this case "_file" would be called if it existed.
Diffstat (limited to 'spec/unit/util/autoload.rb')
0 files changed, 0 insertions, 0 deletions