spec/elasticsearch/api/perform_request_spec.rb in elasticsearch-api-8.14.0 vs spec/elasticsearch/api/perform_request_spec.rb in elasticsearch-api-8.15.0
- old
+ new
@@ -56,10 +56,10 @@
# The expected hash passed to perform_request contains the endpoint name and any defined path parts
let(:expected_perform_request_params) do
if defined_path_parts.empty?
{ endpoint: spec.endpoint_name }
else
- { endpoint: spec.endpoint_name, defined_params: defined_path_parts}
+ { endpoint: spec.endpoint_name, defined_params: defined_path_parts }
end
end
if spec.path_parts.empty?
it "passes the endpoint id to the request" do