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:
Diffstat (limited to 'spec/support/helpers/stub_configuration.rb')
-rw-r--r--spec/support/helpers/stub_configuration.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/support/helpers/stub_configuration.rb b/spec/support/helpers/stub_configuration.rb
index 4c997aceeee..562805cec3d 100644
--- a/spec/support/helpers/stub_configuration.rb
+++ b/spec/support/helpers/stub_configuration.rb
@@ -154,6 +154,11 @@ module StubConfiguration
stub_application_setting(maintenance_mode: value)
end
+ def stub_usage_ping_features(value)
+ stub_application_setting(usage_ping_enabled: value)
+ stub_application_setting(usage_ping_features_enabled: value)
+ end
+
private
# Modifies stubbed messages to also stub possible predicate versions