
  describe('checkbox tests', function () {

    it('Should have MaterialCheckbox globally available', function () {
      expect(MaterialCheckbox).to.be.a('function');
    });

    it('Should be upgraded to a MaterialCheckbox successfully', function () {
      var el = document.createElement('div');
      el.innerHTML = '<input type="checkbox" class="wsk-checkbox__input">';
      componentHandler.upgradeElement(el, 'MaterialCheckbox');
      var upgraded = el.getAttribute('data-upgraded');
      expect(upgraded).to.contain('MaterialCheckbox');
    });
  });

@@ -444,45 +444,36 @@
     
-var upgraded = el.getAttribute('
+expect($(el)).to.have.
 data
--
+('
 upgr
@@ -481,46 +481,12 @@
 ded'
-);%0A      expect(upgraded).to.contain('
+, ',
 Mate

Update MaterialCheckbox unit test with chai-jquery