diff options
author | Felipe Artur <fcardozo@gitlab.com> | 2018-05-07 08:46:23 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-05-07 08:46:23 +0000 |
commit | a9d0deebd2813c2bd070e6bfedc71fa9fadb2ad0 (patch) | |
tree | c598e36f6d9228665afc2838ffbce7c1abd840f8 /spec/db | |
parent | 1492cf8f5792b436d6366e6cad20a708a19ea662 (diff) | |
download | gitlab-ce-a9d0deebd2813c2bd070e6bfedc71fa9fadb2ad0.tar.gz |
Enable prometheus metrics by default
Diffstat (limited to 'spec/db')
-rw-r--r-- | spec/db/production/settings_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/db/production/settings_spec.rb b/spec/db/production/settings_spec.rb index c8d016070f5..db19e98b851 100644 --- a/spec/db/production/settings_spec.rb +++ b/spec/db/production/settings_spec.rb @@ -48,15 +48,15 @@ describe 'seed production settings' do end end - context 'GITLAB_PROMETHEUS_METRICS_ENABLED is false' do + context 'GITLAB_PROMETHEUS_METRICS_ENABLED is default' do before do stub_env('GITLAB_PROMETHEUS_METRICS_ENABLED', '') end - it 'prometheus_metrics_enabled is set to false' do + it 'prometheus_metrics_enabled is set to true' do load(settings_file) - expect(settings.prometheus_metrics_enabled).to eq(false) + expect(settings.prometheus_metrics_enabled).to eq(true) end end end |