Skip to content

Commit a9d16de

Browse files
committed
Update watcher specs
1 parent 2eccb7c commit a9d16de

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

elasticsearch-api/spec/elasticsearch/api/actions/watcher/get_settings_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
'_watcher/settings',
2525
{},
2626
nil,
27-
{}
27+
{},
28+
{ endpoint: 'watcher.get_settings' }
2829
]
2930
end
3031

elasticsearch-api/spec/elasticsearch/api/actions/watcher/update_settings_spec.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,15 @@
1717

1818
require 'spec_helper'
1919

20-
describe 'client#watcher.get_settings' do
20+
describe 'client#watcher.update_settings' do
2121
let(:expected_args) do
2222
[
2323
'PUT',
2424
'_watcher/settings',
2525
{},
2626
{},
27-
{}
27+
{},
28+
{ endpoint: 'watcher.update_settings' }
2829
]
2930
end
3031

0 commit comments

Comments
 (0)