diff options
Diffstat (limited to 'spec/workers/repository_check/dispatch_worker_spec.rb')
-rw-r--r-- | spec/workers/repository_check/dispatch_worker_spec.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/workers/repository_check/dispatch_worker_spec.rb b/spec/workers/repository_check/dispatch_worker_spec.rb index 146228c0852..829abc7d895 100644 --- a/spec/workers/repository_check/dispatch_worker_spec.rb +++ b/spec/workers/repository_check/dispatch_worker_spec.rb @@ -22,10 +22,6 @@ RSpec.describe RepositoryCheck::DispatchWorker do end it 'dispatches work to RepositoryCheck::BatchWorker' do - expect_next_instance_of(Gitlab::GitalyClient::ServerService) do |service| - expect(service).to receive(:readiness_check).and_return({ success: true }) - end - expect(RepositoryCheck::BatchWorker).to receive(:perform_async).at_least(:once) subject.perform |