Skip to content

Commit 3ed409b

Browse files
committed
[API] Reorganize API spec tests
1 parent 56a0fc8 commit 3ed409b

18 files changed

+2
-3
lines changed

elasticsearch-api/lib/elasticsearch/api/actions/security/enroll_node.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module Actions
2323
#
2424
# @option arguments [Hash] :headers Custom HTTP headers
2525
#
26-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-enroll-node.html
26+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-node-enrollment.html
2727
#
2828
def enroll_node(arguments = {})
2929
headers = arguments.delete(:headers) || {}

elasticsearch-api/lib/elasticsearch/api/actions/terms_enum.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def terms_enum(arguments = {})
4545
Elasticsearch::API::HTTP_GET
4646
end
4747

48-
path = "#{Elasticsearch::API::Utils.__listify(_index)}/_terms_enum"
48+
path = "#{Utils.__listify(_index)}/_terms_enum"
4949
params = {}
5050

5151
body = arguments[:body]

elasticsearch-api/spec/elasticsearch/machine_learning/set_upgrade_mode_spec.rb renamed to elasticsearch-api/spec/elasticsearch/api/actions/machine_learning/set_upgrade_mode_spec.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
require 'spec_helper'
1919

2020
describe 'client#set_upgrade_mode' do
21-
2221
let(:expected_args) do
2322
[
2423
'POST',

0 commit comments

Comments
 (0)