Update MaterialColumnLayour unit test with chai-jquery

master
Alexander Surma 2015-03-18 14:03:35 +00:00
parent 905382669c
commit c6c060e3cb
1 changed files with 1 additions and 2 deletions

View File

@ -8,7 +8,6 @@
it('Should be upgraded to a MaterialColumnLayout successfully', function () {
var el = document.createElement('div');
componentHandler.upgradeElement(el, 'MaterialColumnLayout');
var upgraded = el.getAttribute('data-upgraded');
expect(upgraded).to.contain('MaterialColumnLayout');
expect($(el)).to.have.data('upgraded', ',MaterialColumnLayout');
});
});