Merge branch 'master' into 3177-collection-choose-files
[arvados.git] / apps / workbench / test / functional / pipeline_templates_controller_test.rb
index 41588151a5badee247f6c03476a5882bb3a8314b..82c4faeabe37e9ea50e7d1986f254c88088a1540 100644 (file)
@@ -1,7 +1,10 @@
 require 'test_helper'
 
 class PipelineTemplatesControllerTest < ActionController::TestCase
-  # test "the truth" do
-  #   assert true
-  # end
+  test "component rendering copes with unexpeceted components format" do
+    get(:show,
+        {id: api_fixture("pipeline_templates")["components_is_jobspec"]["uuid"]},
+        session_for(:active))
+    assert_response :success
+  end
 end