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