Merge branch '5739-no-sqlite3' closes #5739
[arvados.git] / apps / workbench / test / integration / pipeline_templates_test.rb
index b909ac0378da9497beab2fda4783cd3e138c73f8..19a51095de3c50569c12c111e5ff5e1dda7cf480 100644 (file)
@@ -2,7 +2,7 @@ require 'integration_helper'
 
 class PipelineTemplatesTest < ActionDispatch::IntegrationTest
   test "JSON popup available for strange components" do
-    Capybara.current_driver = Capybara.javascript_driver
+    need_javascript
     uuid = api_fixture("pipeline_templates")["components_is_jobspec"]["uuid"]
     visit page_with_token("active", "/pipeline_templates/#{uuid}")
     click_on "Components"
@@ -14,7 +14,7 @@ class PipelineTemplatesTest < ActionDispatch::IntegrationTest
   end
 
   test "pipeline template description" do
-    Capybara.current_driver = Capybara.javascript_driver
+    need_javascript
     visit page_with_token("active", "/pipeline_templates")
 
     # go to Two Part pipeline template