Merge branch 'master' into 4644-collection-file-filtering
[arvados.git] / apps / workbench / test / test_helper.rb
index dbeb9aa05de1e539023e9ff341e41aaf1f470d84..e8f787b2460884654c50b852896e3b68c7c17570 100644 (file)
@@ -182,6 +182,12 @@ class ApiServerForTests
       end
     end
   end
+
+  def run_rake_task(task_name, arg_string)
+    Dir.chdir(ARV_API_SERVER_DIR) do
+      _system('bundle', 'exec', 'rake', "#{task_name}[#{arg_string}]")
+    end
+  end
 end
 
 class ActionController::TestCase