Remove repetitive karma spec

This commit is contained in:
Clement Ho 2017-10-27 16:21:56 +08:00
parent b1b596be89
commit 4e8010aa9d

View file

@ -74,10 +74,6 @@ describe('User Avatar Link Component', function () {
expect(this.userAvatarLink.$el.querySelector('img').dataset.originalTitle).toEqual('');
});
it('should render <span> as a child element', function () {
expect(this.userAvatarLink.$el.querySelector('span')).toBeDefined();
});
it('should render username prop in <span>', function () {
expect(this.userAvatarLink.$el.querySelector('span').innerText.trim()).toEqual(this.propsData.username);
});