4595: Merge branch 'master' into 4595-node-list-select
[arvados.git] / apps / workbench / test / test_helper.rb
index ab2ac395b4c487b85643d6df5989934acd7e630f..7f07f180db85340f07c7071c2bbe36433f44d4c1 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