Fix PlanningElement test fail after Mocha upgrade

Switch to `be.empty` assertion.

Deep Equals behaviour appears to have changed:
https://github.com/chaijs/chai/blob/master/ReleaseNotes.md#deep-equals

Signed-off-by: Alex Coles <alex@alexbcoles.com>
pull/1032/head
Alex Coles 11 years ago
parent 67882b664f
commit 76b834349a
  1. 2
      mocha/tests/planning_element_test.js

@ -177,7 +177,7 @@ describe('Planning Element', function(){
describe('historical', function () {
it('empty should have no historical', function () {
expect(this.peEmpty.has_historical()).to.be.false;
expect(this.peEmpty.historical()).to.deep.equal({});
expect(this.peEmpty.historical()).to.be.empty;
});
it('empty should have no alternate dates', function () {

Loading…
Cancel
Save