X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/b91db14a4dced9d6ea124e86be3c796e6f2c8e8c..df51f23dc102d118ed23866bb71ef88498d95dc2:/services/api/test/functional/arvados/v1/pipeline_instances_controller_test.rb diff --git a/services/api/test/functional/arvados/v1/pipeline_instances_controller_test.rb b/services/api/test/functional/arvados/v1/pipeline_instances_controller_test.rb index 63c47ff407..e455354c11 100644 --- a/services/api/test/functional/arvados/v1/pipeline_instances_controller_test.rb +++ b/services/api/test/functional/arvados/v1/pipeline_instances_controller_test.rb @@ -1,28 +1,8 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + require 'test_helper' class Arvados::V1::PipelineInstancesControllerTest < ActionController::TestCase - - test 'create pipeline with components copied from template' do - authorize_with :active - post :create, { - pipeline_instance: { - pipeline_template_uuid: pipeline_templates(:two_part).uuid - } - } - assert_response :success - assert_equal(pipeline_templates(:two_part).components.to_json, - assigns(:object).components.to_json) - end - - test 'create pipeline with no template' do - authorize_with :active - post :create, { - pipeline_instance: { - components: {} - } - } - assert_response :success - assert_equal({}, assigns(:object).components) - end - end