Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-12-07 03:07:51 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-12-07 03:07:51 +0300
commit4e375367b78bb44bd00957522cd9fc3e6d403fef (patch)
tree059b1ce541e4128bf03683407d7b5bbbc2094ed5 /spec/lib/gitlab/gitaly_client
parent99ddca0d88f1e4e49d61b1aa9d41b5785528d1dc (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/gitlab/gitaly_client')
-rw-r--r--spec/lib/gitlab/gitaly_client/cleanup_service_spec.rb9
1 files changed, 5 insertions, 4 deletions
diff --git a/spec/lib/gitlab/gitaly_client/cleanup_service_spec.rb b/spec/lib/gitlab/gitaly_client/cleanup_service_spec.rb
index c6c7fa1c38a..f78bd26ea58 100644
--- a/spec/lib/gitlab/gitaly_client/cleanup_service_spec.rb
+++ b/spec/lib/gitlab/gitaly_client/cleanup_service_spec.rb
@@ -10,10 +10,11 @@ describe Gitlab::GitalyClient::CleanupService do
describe '#apply_bfg_object_map_stream' do
it 'sends an apply_bfg_object_map_stream message' do
- expect_any_instance_of(Gitaly::CleanupService::Stub)
- .to receive(:apply_bfg_object_map_stream)
- .with(kind_of(Enumerator), kind_of(Hash))
- .and_return([])
+ expect_next_instance_of(Gitaly::CleanupService::Stub) do |instance|
+ expect(instance).to receive(:apply_bfg_object_map_stream)
+ .with(kind_of(Enumerator), kind_of(Hash))
+ .and_return([])
+ end
client.apply_bfg_object_map_stream(StringIO.new)
end