X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/25e33b1caae27d60d8a915b708b431766d9eb7cd..b4b8e120c8ac43a16513079e2ae9f46bcdb9c35d:/services/api/test/integration/pipeline_test.rb diff --git a/services/api/test/integration/pipeline_test.rb b/services/api/test/integration/pipeline_test.rb index a550246b13..d4f7eba302 100644 --- a/services/api/test/integration/pipeline_test.rb +++ b/services/api/test/integration/pipeline_test.rb @@ -1,6 +1,10 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + require 'test_helper' -class PipelineTest < ActionDispatch::IntegrationTest +class PipelineIntegrationTest < ActionDispatch::IntegrationTest # These tests simulate the workflow of arv-run-pipeline-instance # and other pipeline-running code. @@ -24,13 +28,17 @@ class PipelineTest < ActionDispatch::IntegrationTest } post("/arvados/v1/pipeline_instances", - {pipeline_instance: {components: {comp_name => component}}.to_json}, - auth(:active)) + params: { + pipeline_instance: { + components: {comp_name => component} + }.to_json + }, + headers: auth(:active)) check_component_match(comp_name, component) pi_uuid = json_response["uuid"] @response = nil - get("/arvados/v1/pipeline_instances/#{pi_uuid}", {}, auth(:active)) + get("/arvados/v1/pipeline_instances/#{pi_uuid}", params: {}, headers: auth(:active)) check_component_match(comp_name, component) end end