projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '14988-wb-rails5-upgrade'
[arvados.git]
/
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 e6b4bfea78ad3c0092453777d594f489dbcb99c7..a76151150fe873b950aaaf72bcd1ac403c1cbc54 100644
(file)
--- a/
services/api/test/functional/arvados/v1/pipeline_instances_controller_test.rb
+++ b/
services/api/test/functional/arvados/v1/pipeline_instances_controller_test.rb
@@
-8,7
+8,7
@@
class Arvados::V1::PipelineInstancesControllerTest < ActionController::TestCase
test 'create pipeline with components copied from template' do
authorize_with :active
test 'create pipeline with components copied from template' do
authorize_with :active
- post :create, {
+ post :create,
params:
{
pipeline_instance: {
pipeline_template_uuid: pipeline_templates(:two_part).uuid
}
pipeline_instance: {
pipeline_template_uuid: pipeline_templates(:two_part).uuid
}
@@
-20,7
+20,7
@@
class Arvados::V1::PipelineInstancesControllerTest < ActionController::TestCase
test 'create pipeline with no template' do
authorize_with :active
test 'create pipeline with no template' do
authorize_with :active
- post :create, {
+ post :create,
params:
{
pipeline_instance: {
components: {}
}
pipeline_instance: {
components: {}
}
@@
-37,7
+37,7
@@
class Arvados::V1::PipelineInstancesControllerTest < ActionController::TestCase
authorize_with :active
pi_uuid = pipeline_instances(:job_child_pipeline_with_components_at_level_2).uuid
authorize_with :active
pi_uuid = pipeline_instances(:job_child_pipeline_with_components_at_level_2).uuid
- post :cancel, {id: pi_uuid, cascade: cascade}
+ post :cancel,
params:
{id: pi_uuid, cascade: cascade}
assert_response :success
pi = PipelineInstance.where(uuid: pi_uuid).first
assert_response :success
pi = PipelineInstance.where(uuid: pi_uuid).first