X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/7daef1e224ee6fb8b03cd7b71773c5381c07324e..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 654f3175f7..cb298f4873 100644 --- a/apps/workbench/test/controllers/workflows_controller_test.rb +++ b/apps/workbench/test/controllers/workflows_controller_test.rb @@ -4,6 +4,18 @@ class WorkflowsControllerTest < ActionController::TestCase test "index" do get :index, {}, session_for(:active) assert_response :success - assert_includes @response.body, 'Valid workflow with no workflow yaml' + 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