diff options
author | Semyon Pupkov <mail@semyonpupkov.com> | 2017-02-02 15:10:25 +0500 |
---|---|---|
committer | Semyon Pupkov <mail@semyonpupkov.com> | 2017-02-05 13:11:45 +0500 |
commit | 3deb66ea569cde62c3213b2671532c0db3c7263d (patch) | |
tree | 9e8085e752c20f28b711dd6a5920babb67cd6b07 /spec/lib/gitlab/github_import | |
parent | 4d11903dcf818342c4bde1af198eac7a45460318 (diff) | |
download | gitlab-ce-3deb66ea569cde62c3213b2671532c0db3c7263d.tar.gz |
Add traits for ProjectFeatures to Project factory
https://gitlab.com/gitlab-org/gitlab-ce/issues/24007
Diffstat (limited to 'spec/lib/gitlab/github_import')
-rw-r--r-- | spec/lib/gitlab/github_import/importer_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/github_import/importer_spec.rb b/spec/lib/gitlab/github_import/importer_spec.rb index 72421832ffc..afd78abdc9b 100644 --- a/spec/lib/gitlab/github_import/importer_spec.rb +++ b/spec/lib/gitlab/github_import/importer_spec.rb @@ -202,7 +202,7 @@ describe Gitlab::GithubImport::Importer, lib: true do end end - let(:project) { create(:project, import_url: "#{repo_root}/octocat/Hello-World.git", wiki_access_level: ProjectFeature::DISABLED) } + let(:project) { create(:project, :wiki_disabled, import_url: "#{repo_root}/octocat/Hello-World.git") } let(:credentials) { { user: 'joe' } } context 'when importing a GitHub project' do |