spec/elasticsearch/api/actions/inference/inference_spec.rb in elasticsearch-api-8.12.2 vs spec/elasticsearch/api/actions/inference/inference_spec.rb in elasticsearch-api-8.13.0

- old
+ new

@@ -23,14 +23,14 @@ 'POST', '_inference/foo/bar', {}, nil, {}, - { defined_params: { model_id: 'bar', task_type: 'foo' }, + { defined_params: { inference_id: 'bar', task_type: 'foo' }, endpoint: 'inference.inference' } ] end it 'performs the request' do - expect(client_double.inference.inference(task_type: 'foo', model_id: 'bar')).to be_a Elasticsearch::API::Response + expect(client_double.inference.inference(task_type: 'foo', inference_id: 'bar')).to be_a Elasticsearch::API::Response end end