8784: Fix test for latest firefox.
[arvados.git] / apps / workbench / test / controllers / workflows_controller_test.rb
1 require 'test_helper'
2
3 class WorkflowsControllerTest < ActionController::TestCase
4   test "index" do
5     get :index, {}, session_for(:active)
6     assert_response :success
7     assert_includes @response.body, 'Valid workflow with no definition yaml'
8   end
9
10   test "show" do
11     use_token 'active'
12
13     wf = api_fixture('workflows')['workflow_with_input_specifications']
14
15     get :show, {id: wf['uuid']}, session_for(:active)
16     assert_response :success
17
18     assert_includes @response.body, "a short label for this parameter (optional)"
19     assert_includes @response.body, "href=\"#Advanced\""
20   end
21 end