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