diff options
author | Gabriel Mazetto <brodock@gmail.com> | 2018-12-22 16:54:33 +0300 |
---|---|---|
committer | Gabriel Mazetto <brodock@gmail.com> | 2019-01-25 22:26:35 +0300 |
commit | c2c34eba62f26bed8cad8b07934e14b4519eef7c (patch) | |
tree | b5ab373fc66274e4a902ff828f1ba460300d30fa /spec/workers | |
parent | 07a196be3dca5125454262bb96967d5895081c56 (diff) |
Prepare rake task for storage rollback
We are keeping compatibility with existing scheduled jobs.
Diffstat (limited to 'spec/workers')
-rw-r--r-- | spec/workers/storage_migrator_worker_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/storage_migrator_worker_spec.rb b/spec/workers/storage_migrator_worker_spec.rb index 808084c8f7c..63f3c1d1c59 100644 --- a/spec/workers/storage_migrator_worker_spec.rb +++ b/spec/workers/storage_migrator_worker_spec.rb @@ -7,7 +7,7 @@ describe StorageMigratorWorker do describe '#perform' do it 'delegates to MigratorService' do - expect_any_instance_of(Gitlab::HashedStorage::Migrator).to receive(:bulk_migrate).with(5, 10) + expect_any_instance_of(Gitlab::HashedStorage::Migrator).to receive(:bulk_migrate).with(start: 5, finish: 10, operation: :migrate) worker.perform(5, 10) end |