summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/import_export/wiki_repo_bundler_spec.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2017-01-24 18:42:12 -0500
committerRobert Speicher <rspeicher@gmail.com>2017-01-25 12:25:42 -0500
commit80a6d2fda2483bf81c4cf9cdac9aa3c9e42b7982 (patch)
tree32d074259ee566098454cce7e44e69c8abca7fa8 /spec/lib/gitlab/import_export/wiki_repo_bundler_spec.rb
parent5f410001eb718e23835d933e66f4973bfd2b0a10 (diff)
downloadgitlab-ce-80a6d2fda2483bf81c4cf9cdac9aa3c9e42b7982.tar.gz
Use `:empty_project` where possible throughout spec/librs-empty_project-lib
Diffstat (limited to 'spec/lib/gitlab/import_export/wiki_repo_bundler_spec.rb')
-rw-r--r--spec/lib/gitlab/import_export/wiki_repo_bundler_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/import_export/wiki_repo_bundler_spec.rb b/spec/lib/gitlab/import_export/wiki_repo_bundler_spec.rb
index b628da0f3e8..47d5d2fc150 100644
--- a/spec/lib/gitlab/import_export/wiki_repo_bundler_spec.rb
+++ b/spec/lib/gitlab/import_export/wiki_repo_bundler_spec.rb
@@ -3,7 +3,7 @@ require 'spec_helper'
describe Gitlab::ImportExport::WikiRepoSaver, services: true do
describe 'bundle a wiki Git repo' do
let(:user) { create(:user) }
- let!(:project) { create(:project, :public, name: 'searchable_project') }
+ let!(:project) { create(:empty_project, :public, name: 'searchable_project') }
let(:export_path) { "#{Dir::tmpdir}/project_tree_saver_spec" }
let(:shared) { Gitlab::ImportExport::Shared.new(relative_path: project.path_with_namespace) }
let(:wiki_bundler) { described_class.new(project: project, shared: shared) }