Commit da4fc5b8 authored by Micaël Bergeron's avatar Micaël Bergeron

fix a future conflict

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