Skip to content

Commit

Permalink
Fixing nvd3 chart type for MBHchart
Browse files Browse the repository at this point in the history
  • Loading branch information
Madhuka committed Jul 2, 2015
1 parent b2b4c79 commit f985a1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/spec/chart-factory/nvd3-chart-factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion test/spec/services/switch-chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
});
Expand Down

0 comments on commit f985a1c

Please sign in to comment.