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-08 21:07:58 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-12-08 21:07:58 +0300
commitf7c17a066a65bef78e2c2c9f4b70cb5ad86007b0 (patch)
treedc95faaa760d014a5133d65d0738cac641235ff1 /spec/lib/gitlab/gitaly_client
parent7d1ac996829acb2859aba17fbccd729861fd10f8 (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.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/lib/gitlab/gitaly_client/cleanup_service_spec.rb b/spec/lib/gitlab/gitaly_client/cleanup_service_spec.rb
index f78bd26ea58..07f53797b2a 100644
--- a/spec/lib/gitlab/gitaly_client/cleanup_service_spec.rb
+++ b/spec/lib/gitlab/gitaly_client/cleanup_service_spec.rb
@@ -9,6 +9,10 @@ describe Gitlab::GitalyClient::CleanupService do
let(:client) { described_class.new(project.repository) }
describe '#apply_bfg_object_map_stream' do
+ before do
+ ::Gitlab::GitalyClient.clear_stubs!
+ end
+
it 'sends an apply_bfg_object_map_stream message' do
expect_next_instance_of(Gitaly::CleanupService::Stub) do |instance|
expect(instance).to receive(:apply_bfg_object_map_stream)