GitalyClient spec: Remove the diff between CE/EE

This commit is contained in:
Zeger-Jan van de Weg 2019-03-26 17:17:57 +01:00
parent 6ac86054ed
commit 60c28a5fe0
No known key found for this signature in database
GPG Key ID: 65F6A8D64A88ABAC
1 changed files with 10 additions and 0 deletions

View File

@ -89,6 +89,16 @@ describe Gitlab::GitalyClient::RefService do
end
end
describe '#list_new_blobs' do
it 'raises DeadlineExceeded when timeout is too small' do
newrev = '54fcc214b94e78d7a41a9a8fe6d87a5e59500e51'
expect do
client.list_new_blobs(newrev, dynamic_timeout: 0.001)
end.to raise_error(GRPC::DeadlineExceeded)
end
end
describe '#local_branches' do
it 'sends a find_local_branches message' do
expect_any_instance_of(Gitaly::RefService::Stub)