From 9d0bceb3f012aa7a9c412f83dfc775a7f99f4729 Mon Sep 17 00:00:00 2001 From: James Lopez Date: Fri, 22 Dec 2017 17:37:43 +0100 Subject: [PATCH] add extra spec check --- spec/lib/gitlab/bare_repository_import/importer_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/lib/gitlab/bare_repository_import/importer_spec.rb b/spec/lib/gitlab/bare_repository_import/importer_spec.rb index 920819cf382..07cc73ee479 100644 --- a/spec/lib/gitlab/bare_repository_import/importer_spec.rb +++ b/spec/lib/gitlab/bare_repository_import/importer_spec.rb @@ -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