11501: Merge branch 'master' into 11501-job-stats-discrepancy
[arvados.git] / apps / workbench / test / controllers / workflows_controller_test.rb
index 14db731381cd97ae09324d7300d74cd765ad5bef..cb298f487372be1fc6abaf6ece87e991d80385ba 100644 (file)
@@ -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