Skip to content

Commit 6be13fd

Browse files
committed
Removes outdated code from perform_request_spec
1 parent 297fe86 commit 6be13fd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

elasticsearch-api/spec/unit/perform_request_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,6 @@ def files
9999
params.merge(part.to_sym => 'testing')
100100
end
101101

102-
required_params.merge!(body: {}) if ['inference.put', 'inference.update', 'inference.chat_completion_unified'].include? spec.endpoint_name
103-
104102
let(:client_double) do
105103
Class.new { include Elasticsearch::API }.new.tap do |client|
106104
expect(client).to receive(:perform_request) do |_, _, _, _, _, request_params|

0 commit comments

Comments
 (0)