blob: 1c54cf55fa0bd2e93c55743349c5e0869131637f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
require 'spec_helper'
describe BackgroundMigrationWorker, :sidekiq do
describe '.perform' do
it 'performs a background migration' do
expect(Gitlab::BackgroundMigration)
.to receive(:perform)
.with('Foo', [10, 20])
described_class.new.perform('Foo', [10, 20])
end
end
end
|