diff options
author | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-09-07 09:45:30 -0500 |
---|---|---|
committer | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-09-07 09:45:30 -0500 |
commit | b71eb1da5bd20c8c2ae53efe79af516da0aeeb03 (patch) | |
tree | 283c28f5acd8b0c2653670a15195dfa2a9aa182b /spec/javascripts/monitoring | |
parent | 93ba3fdd1e756168ba9ca12e60a53a98969ccdec (diff) | |
download | gitlab-ce-b71eb1da5bd20c8c2ae53efe79af516da0aeeb03.tar.gz |
Added minor details to specs
Diffstat (limited to 'spec/javascripts/monitoring')
-rw-r--r-- | spec/javascripts/monitoring/graph_path_spec.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/javascripts/monitoring/graph_path_spec.js b/spec/javascripts/monitoring/graph_path_spec.js index 41b3014baac..e7348b03ba1 100644 --- a/spec/javascripts/monitoring/graph_path_spec.js +++ b/spec/javascripts/monitoring/graph_path_spec.js @@ -21,15 +21,15 @@ describe('Monitoring Paths', () => { const component = createComponent({ generatedLinePath: firstTimeSeries.linePath, generatedAreaPath: firstTimeSeries.areaPath, - lineColor: '#ccc', - areaColor: '#fff', + lineColor: firstTimeSeries.lineColor, + areaColor: firstTimeSeries.areaColor, }); const metricArea = component.$el.querySelector('.metric-area'); const metricLine = component.$el.querySelector('.metric-line'); - expect(metricArea.getAttribute('fill')).toBe('#fff'); + expect(metricArea.getAttribute('fill')).toBe('#8dd5aa'); expect(metricArea.getAttribute('d')).toBe(firstTimeSeries.areaPath); - expect(metricLine.getAttribute('stroke')).toBe('#ccc'); + expect(metricLine.getAttribute('stroke')).toBe('#1aaa55'); expect(metricLine.getAttribute('d')).toBe(firstTimeSeries.linePath); }); }); |