From 852d125b877edd0ceea70f69623809edbd70ed9d Mon Sep 17 00:00:00 2001 From: Jake Landis Date: Wed, 6 Mar 2019 14:00:59 -0600 Subject: [PATCH] Central management typeless API (test fix) --- x-pack/spec/config_management/elasticsearch_source_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/spec/config_management/elasticsearch_source_spec.rb b/x-pack/spec/config_management/elasticsearch_source_spec.rb index e34069b9e98..3728639eed2 100644 --- a/x-pack/spec/config_management/elasticsearch_source_spec.rb +++ b/x-pack/spec/config_management/elasticsearch_source_spec.rb @@ -132,7 +132,7 @@ } } it "generates the path to get the configuration" do - expect(subject.config_path).to eq("#{described_class::PIPELINE_INDEX}/#{described_class::PIPELINE_TYPE}/_mget") + expect(subject.config_path).to eq("#{described_class::PIPELINE_INDEX}/_mget") end end @@ -168,7 +168,7 @@ let(:pipeline_id) { "apache" } let(:mock_client) { double("http_client") } let(:settings) { super.merge({ "xpack.management.pipeline.id" => pipeline_id }) } - let(:es_path) { "#{described_class::PIPELINE_INDEX}/#{described_class::PIPELINE_TYPE}/_mget" } + let(:es_path) { "#{described_class::PIPELINE_INDEX}/_mget" } let(:request_body_string) { LogStash::Json.dump({ "docs" => [{ "_id" => pipeline_id }] }) } before do