spec/elasticsearch/api/actions/json_builders_spec.rb in elasticsearch-api-8.10.0 vs spec/elasticsearch/api/actions/json_builders_spec.rb in elasticsearch-api-8.11.0
- old
+ new
@@ -23,11 +23,12 @@
[
'POST',
'_search',
{},
body,
- {}
+ {},
+ { endpoint: 'search' }
]
end
let(:json) do
Jbuilder.encode do |json|
@@ -55,10 +56,11 @@
[
'POST',
'_search',
{},
body,
- {}
+ {},
+ { endpoint: 'search' }
]
end
let(:json) do
Jsonify::Builder.compile do |json|