1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
7 class PipelineInstanceTest < ActiveSupport::TestCase
9 [:has_component_with_no_script_parameters,
10 :has_component_with_empty_script_parameters].each do |pi_name|
11 test "update pipeline that #{pi_name}" do
12 pi = pipeline_instances pi_name
14 Thread.current[:user] = users(:active)
15 assert_equal PipelineInstance::Ready, pi.state