summaryrefslogtreecommitdiff
path: root/spec/features/projects_spec.rb
diff options
context:
space:
mode:
authorPaul Slaughter <pslaughter@gitlab.com>2019-02-13 05:35:17 -0600
committerPaul Slaughter <pslaughter@gitlab.com>2019-02-13 05:35:17 -0600
commit09e58d3f8a965992f2abc72246bd405c984c948c (patch)
treece2ae2dd53b3961404d2fe7bb7136f62bca7006d /spec/features/projects_spec.rb
parentda1aaaf2e56a6ed516e603a5a22044d89f61b0c0 (diff)
downloadgitlab-ce-09e58d3f8a965992f2abc72246bd405c984c948c.tar.gz
CE Port of Multiple merge request approval rules
EE MR: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/9001
Diffstat (limited to 'spec/features/projects_spec.rb')
-rw-r--r--spec/features/projects_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/features/projects_spec.rb b/spec/features/projects_spec.rb
index bc36c6f948f..dbf0d427976 100644
--- a/spec/features/projects_spec.rb
+++ b/spec/features/projects_spec.rb
@@ -4,6 +4,10 @@ describe 'Project' do
include ProjectForksHelper
include MobileHelpers
+ before do
+ stub_feature_flags(approval_rules: false)
+ end
+
describe 'creating from template' do
let(:user) { create(:user) }
let(:template) { Gitlab::ProjectTemplate.find(:rails) }