Skip to content

Commit

Permalink
Central management typeless API (test fix)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelandis committed Mar 6, 2019
1 parent 03818b6 commit 852d125
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x-pack/spec/config_management/elasticsearch_source_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 852d125

Please sign in to comment.