diff --git a/test/spec/chart-factory/nvd3-chart-factory.js b/test/spec/chart-factory/nvd3-chart-factory.js index 0ec7e5a..e3f1b81 100644 --- a/test/spec/chart-factory/nvd3-chart-factory.js +++ b/test/spec/chart-factory/nvd3-chart-factory.js @@ -39,7 +39,7 @@ describe("apacheZeppelinGsocApp NVD3ChartFactory", function() { //changing the mock chart type myChart.setChartType('Bar'); expect(myChart.type).toBe('Bar'); - expect(myChart.viewModel.options.chart.type).toBe('discreteBarChart'); + expect(myChart.viewModel.options.chart.type).toBe('multiBarHorizontalChart'); }); }); describe("view model", function() { diff --git a/test/spec/services/switch-chart.js b/test/spec/services/switch-chart.js index c1d19da..94fbfc0 100644 --- a/test/spec/services/switch-chart.js +++ b/test/spec/services/switch-chart.js @@ -94,7 +94,7 @@ describe("apacheZeppelinGsocApp chartService", function() { 'lineChart'); expect(chartService.getNVD3Chart('Bar').viewModel.options.chart .type).toBe( - 'discreteBarChart'); + 'multiBarHorizontalChart'); expect(chartService.getNVD3Chart('Bar').type).toBe( 'Bar'); });