summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2018-03-07 22:47:24 +0000
committerFilipa Lacerda <filipa@gitlab.com>2018-03-07 22:47:24 +0000
commit1558bd1263ffa733f70d9b1268d2010bc0f704b8 (patch)
tree55b5eb4f9d595f183a0762febbe8f1e5994f6ccb /spec
parentfa797c42edc6f0eca6d5640231270c15fd59dad9 (diff)
parent8780abfd55c9b2917c3716fc4b67437c52369b60 (diff)
downloadgitlab-ce-1558bd1263ffa733f70d9b1268d2010bc0f704b8.tar.gz
Merge branch 'jivl-backport-custom-metrics-frontend' into 'master'
backport of custom metrics for the common metrics section of CE See merge request gitlab-org/gitlab-ce!17586
Diffstat (limited to 'spec')
-rw-r--r--spec/javascripts/prometheus_metrics/prometheus_metrics_spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/prometheus_metrics/prometheus_metrics_spec.js b/spec/javascripts/prometheus_metrics/prometheus_metrics_spec.js
index f6c0f51cf62..955ec6a531c 100644
--- a/spec/javascripts/prometheus_metrics/prometheus_metrics_spec.js
+++ b/spec/javascripts/prometheus_metrics/prometheus_metrics_spec.js
@@ -85,7 +85,7 @@ describe('PrometheusMetrics', () => {
expect(prometheusMetrics.$monitoredMetricsLoading.hasClass('hidden')).toBeTruthy();
expect(prometheusMetrics.$monitoredMetricsList.hasClass('hidden')).toBeFalsy();
- expect(prometheusMetrics.$monitoredMetricsCount.text()).toEqual('12');
+ expect(prometheusMetrics.$monitoredMetricsCount.text()).toEqual('3 exporters with 12 metrics were found');
expect($metricsListLi.length).toEqual(metrics.length);
expect($metricsListLi.first().find('.badge').text()).toEqual(`${metrics[0].active_metrics}`);
});