diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-08 21:07:58 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-08 21:07:58 +0300 |
commit | f7c17a066a65bef78e2c2c9f4b70cb5ad86007b0 (patch) | |
tree | dc95faaa760d014a5133d65d0738cac641235ff1 /spec/lib/gitlab/gitaly_client | |
parent | 7d1ac996829acb2859aba17fbccd729861fd10f8 (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.rb | 4 |
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) |