summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkushalpandya <kushal@gitlab.com>2017-05-05 17:06:08 +0530
committerkushalpandya <kushal@gitlab.com>2017-05-05 17:06:08 +0530
commitbf64e4aa5193d95c079ca76672a79ac548edddd2 (patch)
treedd70e6869a0a9ec9b0bb318e98e9225d1a7c6908
parent9abee61b76df9f59b644657c5d1a33e1c6e2fb39 (diff)
downloadgitlab-ce-26944-mr-widget-prometheus-sparkline-dot.tar.gz
Fix incorrect expected string26944-mr-widget-prometheus-sparkline-dot
-rw-r--r--spec/javascripts/vue_shared/components/memory_graph_spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/vue_shared/components/memory_graph_spec.js b/spec/javascripts/vue_shared/components/memory_graph_spec.js
index 7cdb5bb1db0..11f4a800208 100644
--- a/spec/javascripts/vue_shared/components/memory_graph_spec.js
+++ b/spec/javascripts/vue_shared/components/memory_graph_spec.js
@@ -72,7 +72,7 @@ describe('MemoryGraph', () => {
it('should show human readable median value based on provided median timestamp', () => {
vm.deploymentTime = mockMedian;
const formattedMedian = vm.getFormattedMedian;
- expect(formattedMedian).toContain('Deployed 1 day ago');
+ expect(formattedMedian).toContain('Deployed 3 days ago');
});
});
});