diff options
Diffstat (limited to 'spec/workers/gitlab/github_import/stage/finish_import_worker_spec.rb')
-rw-r--r-- | spec/workers/gitlab/github_import/stage/finish_import_worker_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/workers/gitlab/github_import/stage/finish_import_worker_spec.rb b/spec/workers/gitlab/github_import/stage/finish_import_worker_spec.rb index e517f30ee2c..6d8fa29bd27 100644 --- a/spec/workers/gitlab/github_import/stage/finish_import_worker_spec.rb +++ b/spec/workers/gitlab/github_import/stage/finish_import_worker_spec.rb @@ -6,6 +6,8 @@ RSpec.describe Gitlab::GithubImport::Stage::FinishImportWorker, feature_category let(:project) { create(:project) } let(:worker) { described_class.new } + it_behaves_like Gitlab::GithubImport::StageMethods + describe '#perform' do it 'marks the import as finished and reports import statistics' do expect(project).to receive(:after_import) |