X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/1a87c77a5cfe200921a9d09e995383bc675e7370..b310fc04b9e60b974f4bfc2c86a5c45ecd7c65f2:/apps/workbench/test/controllers/workflows_controller_test.rb diff --git a/apps/workbench/test/controllers/workflows_controller_test.rb b/apps/workbench/test/controllers/workflows_controller_test.rb index 14db731381..cb298f4873 100644 --- a/apps/workbench/test/controllers/workflows_controller_test.rb +++ b/apps/workbench/test/controllers/workflows_controller_test.rb @@ -6,4 +6,16 @@ class WorkflowsControllerTest < ActionController::TestCase assert_response :success assert_includes @response.body, 'Valid workflow with no definition yaml' end + + test "show" do + use_token 'active' + + wf = api_fixture('workflows')['workflow_with_input_specifications'] + + get :show, {id: wf['uuid']}, session_for(:active) + assert_response :success + + assert_includes @response.body, "a short label for this parameter (optional)" + assert_includes @response.body, "href=\"#Advanced\"" + end end