Skip to content

Commit

Permalink
baselines *do* match for all-negative due to #1156
Browse files Browse the repository at this point in the history
  • Loading branch information
gordonwoodhull committed Jul 19, 2016
1 parent 492d531 commit b7774a5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions spec/composite-chart-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -637,8 +637,9 @@ describe('dc.compositeChart', function () {
.render();
});

it('the axis baselines shouldn\'t match', function () {
expect(leftChart.y()(0)).not.toEqual(rightChart.y()(0));
it('the axis baselines should match', function () {
/* because elasticY ensures zero is included for all-negatives, due to PR #1156 */
expect(leftChart.y()(0)).toEqual(rightChart.y()(0));
});

describe('with alignYAxes', function () {
Expand Down

0 comments on commit b7774a5

Please sign in to comment.