From fc12e64c3e353739a8a0a65596161bc57ba15e4f Mon Sep 17 00:00:00 2001 From: Gordon Woodhull Date: Mon, 18 Jul 2016 08:04:32 -0400 Subject: [PATCH] baselines *do* match for all-negative due to #1156 --- spec/composite-chart-spec.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spec/composite-chart-spec.js b/spec/composite-chart-spec.js index 7787081a2..d9a6d8dd4 100644 --- a/spec/composite-chart-spec.js +++ b/spec/composite-chart-spec.js @@ -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 () {