Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-09-07 15:11:26 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-09-07 15:11:26 +0300
commit325245c6f5803227b13051883d00da5b3c235ab0 (patch)
treedc30fdeb752d4699a27c2b45ba5992e77bf66ccc /spec/spec_helper.rb
parent378308b6cde44eb1a320b9202ff8946a911f35f6 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 6ccfabca101..4f393aed377 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -308,6 +308,10 @@ RSpec.configure do |config|
# For more information check https://gitlab.com/gitlab-org/gitlab/-/issues/339348
stub_feature_flags(new_header_search: false)
+ # Disable the override flag in order to enable the feature by default.
+ # See https://docs.gitlab.com/ee/development/feature_flags/#selectively-disable-by-actor
+ stub_feature_flags(surface_environment_creation_failure_override: false)
+
allow(Gitlab::GitalyClient).to receive(:can_use_disk?).and_return(enable_rugged)
else
unstub_all_feature_flags