diff options
author | Luke Kanies <luke@puppetlabs.com> | 2011-03-25 12:39:13 -0700 |
---|---|---|
committer | Luke Kanies <luke@puppetlabs.com> | 2011-03-25 14:32:03 -0700 |
commit | 29268f3fda3c6e29f60d05e5aa387ff0424e7b1e (patch) | |
tree | 618a97d95f843f59091f33645b976d7e1417c8c6 /lib/puppet/util/autoload.rb | |
parent | da082d500e1f1192dbc987483d753d93b5698094 (diff) | |
download | puppet-29268f3fda3c6e29f60d05e5aa387ff0424e7b1e.tar.gz puppet-29268f3fda3c6e29f60d05e5aa387ff0424e7b1e.tar.xz puppet-29268f3fda3c6e29f60d05e5aa387ff0424e7b1e.zip |
Fixing Module#path detection
For some reason FileTest.exist? was returning false,
and FileTest.directory? returns true.
I've also added much better tests for this behavior.
Signed-off-by: Luke Kanies <luke@puppetlabs.com>
Reviewed-by: Daniel Pittman <daniel@puppetlabs.com>
Diffstat (limited to 'lib/puppet/util/autoload.rb')
0 files changed, 0 insertions, 0 deletions