diff --git a/test/unit/specs/col.spec.js b/test/unit/specs/col.spec.js index 4bca7142..891aaa6f 100644 --- a/test/unit/specs/col.spec.js +++ b/test/unit/specs/col.spec.js @@ -41,4 +41,17 @@ describe('Col', () => { let colElm = vm.$el; expect(colElm.classList.contains('el-col-push-3')).to.be.true; }); + it('gutter', () => { + const vm = createVue({ + template: ` + + + + + ` + }, true); + let colElm = vm.$refs.col.$el; + expect(colElm.style.paddingLeft === '10px').to.be.true; + expect(colElm.style.paddingRight === '10px').to.be.true; + }); });