diff --git a/package.json b/package.json index 2c661a7e05..3a91d3ca0e 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ "babel-register": "^6.24.1", "babel-standalone": "^6.24.0", "chai": "^3.5.0", - "chai-enzyme": "^0.6.1", + "chai-enzyme": "^0.7.0", "connect-history-api-fallback": "^1.2.0", "copy-to-clipboard": "^3.0.6", "cross-env": "^4.0.0", diff --git a/test/specs/modules/Progress/Progress-test.js b/test/specs/modules/Progress/Progress-test.js index 0ebcc1826b..b03d19b5b0 100644 --- a/test/specs/modules/Progress/Progress-test.js +++ b/test/specs/modules/Progress/Progress-test.js @@ -91,22 +91,22 @@ describe('Progress', () => { describe('data-percent', () => { it('adds prop by default', () => { shallow() - .should.have.prop('data-percent', undefined) + .should.have.data('percent') }) it('passes value of percent prop', () => { shallow() - .should.have.prop('data-percent', 10) + .should.have.data('percent', 10) }) it('floors the value of percent prop', () => { shallow() - .should.have.prop('data-percent', 8) + .should.have.data('percent', 8) }) it('floors the results value and total props', () => { shallow() - .should.have.prop('data-percent', 8) + .should.have.data('percent', 8) }) })