spec/elasticsearch/api/actions/ingest/simulate_spec.rb in elasticsearch-api-7.17.11 vs spec/elasticsearch/api/actions/ingest/simulate_spec.rb in elasticsearch-api-8.0.0.pre1

- old
+ new

@@ -32,18 +32,18 @@ let(:url) do '_ingest/pipeline/_simulate' end it 'performs the request' do - expect(client_double.ingest.simulate(body: {})).to eq({}) + expect(client_double.ingest.simulate(body: {})).to be_a Elasticsearch::API::Response end context 'when a pipeline id is provided' do let(:url) do '_ingest/pipeline/foo/_simulate' end it 'performs the request' do - expect(client_double.ingest.simulate(id: 'foo', body: {})).to eq({}) + expect(client_double.ingest.simulate(id: 'foo', body: {})).to be_a Elasticsearch::API::Response end end end