add extra spec check
This commit is contained in:
parent
928bf02df0
commit
9d0bceb3f0
1 changed files with 2 additions and 1 deletions
|
@ -167,7 +167,8 @@ describe Gitlab::BareRepositoryImport::Importer, repository: true do
|
|||
FileUtils.mkdir_p(File.join(base_dir, "#{project_path}.git"))
|
||||
FileUtils.mkdir_p(File.join(base_dir, "#{project_path}.wiki.git"))
|
||||
|
||||
expect(Projects::CreateService).to receive(:new).with(admin, hash_including(skip_import: true)).and_call_original
|
||||
expect(Projects::CreateService).to receive(:new).with(admin, hash_including(skip_wiki: true,
|
||||
skip_import: true)).and_call_original
|
||||
|
||||
importer.create_project_if_needed
|
||||
|
||||
|
|
Loading…
Reference in a new issue