12216: Allow Content-Type header via CORS.
[arvados.git] / apps / workbench / test / controllers / pipeline_templates_controller_test.rb
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 require 'test_helper'
6
7 class PipelineTemplatesControllerTest < ActionController::TestCase
8   test "component rendering copes with unexpeceted components format" do
9     get(:show,
10         {id: api_fixture("pipeline_templates")["components_is_jobspec"]["uuid"]},
11         session_for(:active))
12     assert_response :success
13   end
14 end