diff --git a/elasticsearch-api/spec/elasticsearch/api/actions/indices/explain_data_lifecycle_spec.rb b/elasticsearch-api/spec/elasticsearch/api/actions/indices/explain_data_lifecycle_spec.rb index da83e8d821..06ff6b0362 100644 --- a/elasticsearch-api/spec/elasticsearch/api/actions/indices/explain_data_lifecycle_spec.rb +++ b/elasticsearch-api/spec/elasticsearch/api/actions/indices/explain_data_lifecycle_spec.rb @@ -20,7 +20,7 @@ describe 'client.indices#explain_data_lifecycle' do let(:expected_args) do [ - 'POST', + 'GET', 'foo/_lifecycle/explain', {}, nil,