fix a future conflict

This commit is contained in:
Micaël Bergeron 2018-03-29 12:26:55 -04:00
parent ef10679418
commit da4fc5b899
1 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,8 @@ describe 'gitlab:uploads:migrate rake tasks' do
shared_examples 'enqueue jobs in batch' do |batch:|
it do
expect(ObjectStorage::MigrateUploadsWorker)
.to receive(:enqueue!).exactly(batch).times
.to receive(:perform_async).exactly(batch).times
.and_return("A fake job.")
run
end