spec/elasticsearch/api/actions/snapshot/restore_spec.rb in elasticsearch-api-8.10.0 vs spec/elasticsearch/api/actions/snapshot/restore_spec.rb in elasticsearch-api-8.11.0
- old
+ new
@@ -22,10 +22,12 @@
[
'POST',
'_snapshot/foo/bar/_restore',
{},
nil,
- {}
+ {},
+ { defined_params: { repository: 'foo', snapshot: 'bar' },
+ endpoint: 'snapshot.restore' }
]
end
let(:client) do
Class.new { include Elasticsearch::API }.new