Commit 0123a8ea authored by Jan Provaznik's avatar Jan Provaznik

Merge branch 'sh-fix-order-dependent-spec' into 'master'

Fix order-dependent spec in Gitaly cleanup spec

Closes #38535

See merge request gitlab-org/gitlab!21370
parents 383df322 e271deec
...@@ -9,6 +9,10 @@ describe Gitlab::GitalyClient::CleanupService do ...@@ -9,6 +9,10 @@ describe Gitlab::GitalyClient::CleanupService do
let(:client) { described_class.new(project.repository) } let(:client) { described_class.new(project.repository) }
describe '#apply_bfg_object_map_stream' do describe '#apply_bfg_object_map_stream' do
before do
::Gitlab::GitalyClient.clear_stubs!
end
it 'sends an apply_bfg_object_map_stream message' do it 'sends an apply_bfg_object_map_stream message' do
expect_next_instance_of(Gitaly::CleanupService::Stub) do |instance| expect_next_instance_of(Gitaly::CleanupService::Stub) do |instance|
expect(instance).to receive(:apply_bfg_object_map_stream) expect(instance).to receive(:apply_bfg_object_map_stream)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment