gitlab-org--gitlab-foss/spec/workers/background_migration_worker_spec.rb
2017-06-21 13:48:12 +00:00

13 lines
303 B
Ruby

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