diff options
author | Felipe Artur <fcardozo@gitlab.com> | 2018-05-07 11:46:23 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-05-07 11:46:23 +0300 |
commit | a9d0deebd2813c2bd070e6bfedc71fa9fadb2ad0 (patch) | |
tree | c598e36f6d9228665afc2838ffbce7c1abd840f8 /spec | |
parent | 1492cf8f5792b436d6366e6cad20a708a19ea662 (diff) |
Enable prometheus metrics by default
Diffstat (limited to 'spec')
-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 |