X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/29dee6a4abe943797a4baa939085177626997408..6f461f4d0a996da85140982846a5d5c10ccfaae4:/apps/workbench/test/controllers/disabled_api_test.rb?ds=sidebyside diff --git a/apps/workbench/test/controllers/disabled_api_test.rb b/apps/workbench/test/controllers/disabled_api_test.rb index a41d87f31a..1154e4d5e2 100644 --- a/apps/workbench/test/controllers/disabled_api_test.rb +++ b/apps/workbench/test/controllers/disabled_api_test.rb @@ -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