closes #10524
[arvados.git] / apps / workbench / test / controllers / disabled_api_test.rb
index a41d87f31ab34187804bbfb25beb12da310f9aea..1154e4d5e231beb122e84bce1c735b64bd7867ab 100644 (file)
@@ -12,6 +12,8 @@ class DisabledApiTest < ActionController::TestCase
     get :index, {}, session_for(:active)
     assert_includes @response.body, "zzzzz-xvhdp-cr4runningcntnr" # expect crs
     assert_not_includes @response.body, "zzzzz-d1hrv-"   # expect no pipelines
+    assert_includes @response.body, "Run a process"
+    assert_not_includes @response.body, "Run a pipeline"
   end
 
   [
@@ -58,6 +60,8 @@ class DisabledApiTest < ActionController::TestCase
       assert_includes resp, "href=\"#Pipelines_and_processes\""
       assert_includes resp, "href=\"#Workflows\""
       assert_not_includes resp, "href=\"#Pipeline_templates\""
+      assert_includes @response.body, "Run a process"
+      assert_not_includes @response.body, "Run a pipeline"
     end
   end
 end