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
path: root/db
diff options
context:
space:
mode:
authorPawel Chojnacki <pawel@chojnacki.ws>2017-06-02 15:21:58 +0300
committerPawel Chojnacki <pawel@chojnacki.ws>2017-06-02 20:46:29 +0300
commitc86e1437eb415e816dcc29f0b1acafeed2dcc266 (patch)
tree5ec842bb0258e08cfd4a4816892ab0a8d3042cdc /db
parente21b1501ff16de7657a4a5eccb3b8124ba07709c (diff)
Make fixture message more descriptive
+ use strip_heredoc to make the text in tests much more readable
Diffstat (limited to 'db')
-rw-r--r--db/fixtures/production/010_settings.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/fixtures/production/010_settings.rb b/db/fixtures/production/010_settings.rb
index 7978ceefa79..ed0718e7fa9 100644
--- a/db/fixtures/production/010_settings.rb
+++ b/db/fixtures/production/010_settings.rb
@@ -24,6 +24,6 @@ if envs.any? {|env_name| ENV[env_name].present? }
if ENV['GITLAB_PROMETHEUS_METRICS_ENABLED'].present?
value = Gitlab::Utils.to_boolean(ENV['GITLAB_PROMETHEUS_METRICS_ENABLED'])
settings.prometheus_metrics_enabled = value
- save(settings, 'GITLAB_PROMETHEUS_METRICS_ENABLED')
+ save(settings, 'Prometheus metrics enabled flag')
end
end