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