projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix row selection logic to not wait
[arvados.git]
/
apps
/
workbench
/
test
/
helpers
/
download_helper.rb
diff --git
a/apps/workbench/test/helpers/download_helper.rb
b/apps/workbench/test/helpers/download_helper.rb
index 21fb4cd4ccaad8b07c3ba0ca898fe0d7df0e37a4..776f0c713ca146b1f297c0ddc70fe833d6602994 100644
(file)
--- a/
apps/workbench/test/helpers/download_helper.rb
+++ b/
apps/workbench/test/helpers/download_helper.rb
@@
-6,7
+6,9
@@
module DownloadHelper
end
def clear
- FileUtils.rm_f path
+ if File.exist? path
+ FileUtils.rm_r path
+ end
begin
Dir.mkdir path
rescue Errno::EEXIST