spec/elasticsearch/api/actions/json_builders_spec.rb in elasticsearch-api-7.6.0 vs spec/elasticsearch/api/actions/json_builders_spec.rb in elasticsearch-api-7.7.0.pre
- old
+ new
@@ -11,11 +11,12 @@
let(:expected_args) do
[
'GET',
'_search',
{},
- body
+ body,
+ {}
]
end
let(:json) do
Jbuilder.encode do |json|
@@ -43,10 +44,11 @@
let(:expected_args) do
[
'GET',
'_search',
{},
- body
+ body,
+ {}
]
end
let(:json) do
Jsonify::Builder.compile do |json|