1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
7 class WorkflowsControllerTest < ActionController::TestCase
9 get :index, {}, session_for(:active)
10 assert_response :success
11 assert_includes @response.body, 'Valid workflow with no definition yaml'
17 wf = api_fixture('workflows')['workflow_with_input_specifications']
19 get :show, {id: wf['uuid']}, session_for(:active)
20 assert_response :success
22 assert_includes @response.body, "a short label for this parameter (optional)"
23 assert_includes @response.body, "href=\"#Advanced\""