blob: 0d742ae9dc7e35942caf756a7f1f107eb460b169 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
require 'spec_helper'
describe BackgroundMigrationWorker 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
|