From abd59ed04081da0461d24c499b4635b6e3721836 Mon Sep 17 00:00:00 2001 From: Alexey Vasiliev Date: Thu, 31 Jan 2019 18:20:30 +0200 Subject: [PATCH] Add back local cleanup --- spec/webp_ffi_spec.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/webp_ffi_spec.rb b/spec/webp_ffi_spec.rb index 017f82f..f3713b7 100644 --- a/spec/webp_ffi_spec.rb +++ b/spec/webp_ffi_spec.rb @@ -35,10 +35,10 @@ Dir.mkdir(@out_dir) unless File.exists?(@out_dir) end after :all do - # @out_dir = File.expand_path(File.join(File.dirname(__FILE__), "../tmp/")) - # Dir["#{@out_dir}/*{.png,.webp}"].each do |file| - # File.delete(file) rescue nil - # end + @out_dir = File.expand_path(File.join(File.dirname(__FILE__), "../tmp/")) + Dir["#{@out_dir}/*{.png,.webp}"].each do |file| + File.delete(file) rescue nil + end end it "calculate plus 100 by test_c (verify C)" do