diff options
author | Semyon Pupkov <mail@semyonpupkov.com> | 2017-02-02 13:10:25 +0300 |
---|---|---|
committer | Semyon Pupkov <mail@semyonpupkov.com> | 2017-02-05 11:11:45 +0300 |
commit | 3deb66ea569cde62c3213b2671532c0db3c7263d (patch) | |
tree | 9e8085e752c20f28b711dd6a5920babb67cd6b07 /spec/models/ability_spec.rb | |
parent | 4d11903dcf818342c4bde1af198eac7a45460318 (diff) |
Add traits for ProjectFeatures to Project factory
https://gitlab.com/gitlab-org/gitlab-ce/issues/24007
Diffstat (limited to 'spec/models/ability_spec.rb')
-rw-r--r-- | spec/models/ability_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/ability_spec.rb b/spec/models/ability_spec.rb index 2f4a33a1868..30f8fdf91b2 100644 --- a/spec/models/ability_spec.rb +++ b/spec/models/ability_spec.rb @@ -247,7 +247,7 @@ describe Ability, lib: true do end describe '.project_disabled_features_rules' do - let(:project) { create(:empty_project, wiki_access_level: ProjectFeature::DISABLED) } + let(:project) { create(:empty_project, :wiki_disabled) } subject { described_class.allowed(project.owner, project) } |