diff options
author | Robert Speicher <robert@gitlab.com> | 2017-02-06 17:00:46 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2017-02-06 17:00:46 +0000 |
commit | b0f5d1a9b90645274f78c6d497871f382ed90eb0 (patch) | |
tree | 4c4104bc75a96a6961e7c2a21306e168cf76b03c /spec/support | |
parent | 7c8033e025d3b9e35be1e0ce2e3747319d5cb915 (diff) | |
parent | 3deb66ea569cde62c3213b2671532c0db3c7263d (diff) | |
download | gitlab-ce-b0f5d1a9b90645274f78c6d497871f382ed90eb0.tar.gz |
Merge branch 'traits-for-featurs' into 'master'
Add traits for ProjectFeatures to Project factory
Closes #24007
See merge request !8925
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/services/issuable_create_service_shared_examples.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/services/issuable_create_service_shared_examples.rb b/spec/support/services/issuable_create_service_shared_examples.rb index 93c0267d2db..4f0c745b7ee 100644 --- a/spec/support/services/issuable_create_service_shared_examples.rb +++ b/spec/support/services/issuable_create_service_shared_examples.rb @@ -31,8 +31,8 @@ shared_examples 'issuable create service' do context "when issuable feature is private" do before do - project.project_feature.update(issues_access_level: ProjectFeature::PRIVATE) - project.project_feature.update(merge_requests_access_level: ProjectFeature::PRIVATE) + project.project_feature.update(issues_access_level: ProjectFeature::PRIVATE, + merge_requests_access_level: ProjectFeature::PRIVATE) end levels = [Gitlab::VisibilityLevel::INTERNAL, Gitlab::VisibilityLevel::PUBLIC] |