diff options
author | Brice Figureau <brice-puppet@daysofwonder.com> | 2009-05-01 13:12:40 +0200 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-05-15 09:56:58 +1000 |
commit | 8c718c9f678809ad7bc6a0cc5b5356847a625ca5 (patch) | |
tree | 17f8269e63bc1f49df3bec6bcc9b669a309b7e60 /spec/unit/util/autoload.rb | |
parent | 17f2c7d1255d79a79060ca93f9d73642a804ed10 (diff) | |
download | puppet-8c718c9f678809ad7bc6a0cc5b5356847a625ca5.tar.gz puppet-8c718c9f678809ad7bc6a0cc5b5356847a625ca5.tar.xz puppet-8c718c9f678809ad7bc6a0cc5b5356847a625ca5.zip |
Fix failing test: file.close! and file.path ordering fix
On ruby 1.8.7 file.close! nils the internal file path.
So the following pattern:
file = temp
file.close!
file = file.path
doesn't work.
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
Diffstat (limited to 'spec/unit/util/autoload.rb')
0 files changed, 0 insertions, 0 deletions