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
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
......
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