diff options
Diffstat (limited to 'spec/lib')
| -rw-r--r-- | spec/lib/puppet_spec/files.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/lib/puppet_spec/files.rb b/spec/lib/puppet_spec/files.rb index 5fef530..8715e09 100644 --- a/spec/lib/puppet_spec/files.rb +++ b/spec/lib/puppet_spec/files.rb @@ -10,10 +10,10 @@ module PuppetSpec::Files def self.cleanup until @global_tempfiles.empty? path = @global_tempfiles.pop - begin - Dir.unstub(:entries) - FileUtils.rm_rf path, secure: true - end + + Dir.unstub(:entries) + FileUtils.rm_rf path, secure: true + end end |
