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