spec/elasticsearch/api/actions/cat/thread_pool_spec.rb in elasticsearch-api-7.17.11 vs spec/elasticsearch/api/actions/cat/thread_pool_spec.rb in elasticsearch-api-8.0.0.pre1
- old
+ new
@@ -28,8 +28,8 @@
{}
]
end
it 'performs the request' do
- expect(client_double.cat.thread_pool).to eq({})
+ expect(client_double.cat.thread_pool).to be_a Elasticsearch::API::Response
end
end