spec/elasticsearch/api/actions/cat/shards_spec.rb in elasticsearch-api-7.17.11 vs spec/elasticsearch/api/actions/cat/shards_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.shards).to eq({})
+ expect(client_double.cat.shards).to be_a Elasticsearch::API::Response
end
end