Skip to content

Commit

Permalink
fix(agree):fix unit test spec
Browse files Browse the repository at this point in the history
  • Loading branch information
xxyan0205 committed Jun 30, 2018
1 parent 291de87 commit 04f22f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/agree/test/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('Agree', () => {
expect(wrapper.vm.iconName).to.equal('circle-right')

const eventStub = sinon.stub(wrapper.vm, '$emit')
wrapper.find('.agree-icon')[0].trigger('click')
wrapper.find('.md-agree-icon')[0].trigger('click')
expect(eventStub.calledWith('change')).to.be.true
})

Expand Down

0 comments on commit 04f22f2

Please sign in to comment.