20690: Remove workbench1 and testing/packaging references.
[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
deleted file mode 100644 (file)
index c8b5712..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright (C) The Arvados Authors. All rights reserved.
-#
-# SPDX-License-Identifier: AGPL-3.0
-
-module DownloadHelper
-  module_function
-
-  def path
-    Rails.root.join 'tmp', 'downloads'
-  end
-
-  def clear
-    if File.exist? path
-      FileUtils.rm_r path
-    end
-    begin
-      Dir.mkdir path
-    rescue Errno::EEXIST
-    end
-  end
-
-  def done
-    Dir[path.join '*'].reject do |f|
-      /\.part$/ =~ f
-    end
-  end
-end