Merge remote-tracking branch 'origin/master' into 15106-trgm-text-search
[arvados.git] / services / api / test / integration / pipeline_test.rb
index 1e9a4d5c649eed79d0676082d42daa8b46b98ea7..d4f7eba30265ca52d8006983665fdc17e37623b0 100644 (file)
@@ -28,13 +28,17 @@ class PipelineIntegrationTest < 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