diff options
| author | Brice Figureau <brice-puppet@daysofwonder.com> | 2008-12-20 15:29:58 +0100 |
|---|---|---|
| committer | Brice Figureau <brice-puppet@daysofwonder.com> | 2008-12-20 15:29:58 +0100 |
| commit | b6e34b7bc8af737927645e405032ab9694456097 (patch) | |
| tree | c51f7dc9983cd50e0bc4c219d323609a05b2a83f /spec/integration/util | |
| parent | 566bf7820e56b3be503a05645cad54152309b20f (diff) | |
| download | puppet-b6e34b7bc8af737927645e405032ab9694456097.tar.gz puppet-b6e34b7bc8af737927645e405032ab9694456097.tar.xz puppet-b6e34b7bc8af737927645e405032ab9694456097.zip | |
Fix #1834 part1 - Fix tempfile failing tests
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
Diffstat (limited to 'spec/integration/util')
| -rwxr-xr-x | spec/integration/util/settings.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/integration/util/settings.rb b/spec/integration/util/settings.rb index a78046462..d2fe86892 100755 --- a/spec/integration/util/settings.rb +++ b/spec/integration/util/settings.rb @@ -5,8 +5,9 @@ require File.dirname(__FILE__) + '/../../spec_helper' describe Puppet::Util::Settings do def tmpfile(name) source = Tempfile.new(name) + path = source.path source.close! - source.path + path end it "should be able to make needed directories" do |
