summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-08-30 20:28:44 -0500
committerMike Greiling <mike@pixelcog.com>2017-08-30 20:28:44 -0500
commitdd7d691f50827285deaab0276f10c654c4bd8da1 (patch)
tree5b56565c1fbd460adda5332942a1c4ca310d53d5
parent62a0f76516c737f5f6e06337f07fccc1c22ac4ec (diff)
downloadgitlab-ce-dd7d691f50827285deaab0276f10c654c4bd8da1.tar.gz
fix misnamed graph component property
-rw-r--r--spec/javascripts/monitoring/graph_spec.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/javascripts/monitoring/graph_spec.js b/spec/javascripts/monitoring/graph_spec.js
index af103e74d5c..7d8b0744af1 100644
--- a/spec/javascripts/monitoring/graph_spec.js
+++ b/spec/javascripts/monitoring/graph_spec.js
@@ -21,7 +21,7 @@ describe('Graph', () => {
it('has a title', () => {
const component = createComponent({
- columnData: convertedMetrics[1],
+ graphData: convertedMetrics[1],
classType: 'col-md-6',
updateAspectRatio: false,
deploymentData,
@@ -33,7 +33,7 @@ describe('Graph', () => {
describe('Computed props', () => {
it('axisTransform translates an element Y position depending of its height', () => {
const component = createComponent({
- columnData: convertedMetrics[1],
+ graphData: convertedMetrics[1],
classType: 'col-md-6',
updateAspectRatio: false,
deploymentData,
@@ -46,7 +46,7 @@ describe('Graph', () => {
it('outterViewBox gets a width and height property based on the DOM size of the element', () => {
const component = createComponent({
- columnData: convertedMetrics[1],
+ graphData: convertedMetrics[1],
classType: 'col-md-6',
updateAspectRatio: false,
deploymentData,
@@ -61,7 +61,7 @@ describe('Graph', () => {
it('sends an event to the eventhub when it has finished resizing', (done) => {
const component = createComponent({
- columnData: convertedMetrics[1],
+ graphData: convertedMetrics[1],
classType: 'col-md-6',
updateAspectRatio: false,
deploymentData,
@@ -77,7 +77,7 @@ describe('Graph', () => {
it('has a title for the y-axis and the chart legend that comes from the backend', () => {
const component = createComponent({
- columnData: convertedMetrics[1],
+ graphData: convertedMetrics[1],
classType: 'col-md-6',
updateAspectRatio: false,
deploymentData,