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/frontend/fixtures/application_settings.rb')
-rw-r--r--spec/frontend/fixtures/application_settings.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/frontend/fixtures/application_settings.rb b/spec/frontend/fixtures/application_settings.rb
index ebccecb32ba..b09bea56b94 100644
--- a/spec/frontend/fixtures/application_settings.rb
+++ b/spec/frontend/fixtures/application_settings.rb
@@ -34,4 +34,12 @@ RSpec.describe Admin::ApplicationSettingsController, '(JavaScript fixtures)', ty
expect(response).to be_successful
end
+
+ it 'application_settings/usage.html' do
+ stub_application_setting(usage_ping_enabled: false)
+
+ get :metrics_and_profiling
+
+ expect(response).to be_successful
+ end
end