describe('settings', function () {
  describe('colWidths', function () {
    var id = 'testContainer';

    beforeEach(function () {
      this.$container = $('<div id="' + id + '"></div>').appendTo('body');
    });

    afterEach(function () {
      if (this.$container) {
        destroy();
        this.$container.remove();
      }
    });

    describe('defined in constructor', function () {
      it('should consider colWidths provided as number', function () {
        handsontable({
          colWidths: 123
        });

        expect(colWidth(this.$container, 0)).toBe(123);
      });

      it('should consider colWidths provided as string', function () {
        handsontable({
          colWidths: "123"
        });

        expect(colWidth(this.$container, 0)).toBe(123);
      });

      it('should consider colWidths provided as array of numbers', function () {
        handsontable({
          colWidths: [123]
        });

        expect(colWidth(this.$container, 0)).toBe(123);
      });

      it('should consider colWidths provided as array of strings', function () {
        handsontable({
          colWidths: [123]
        });

        expect(colWidth(this.$container, 0)).toBe(123);
      });

      it('should consider colWidth provided as function that returns number', function () {
        handsontable({
          colWidths: function (index) {
            if (index === 0) {
              return 123;
            }
            return 50;
          }
        });

        expect(colWidth(this.$container, 0)).toBe(123);
      });

      it('should consider colWidth provided as function that returns string', function () {
        handsontable({
          colWidths: function (index) {
            if (index === 0) {
              return "123";
            }
            return "50";
          }
        });

        expect(colWidth(this.$container, 0)).toBe(123);
      });
    });
  });
});
@@ -1823,32 +1823,1760 @@
  %7D%0A        %7D);%0A%0A
+        expect(colWidth(this.$container, 0)).toBe(123);%0A      %7D);%0A    %7D);%0A%0A    describe('defined in updateSettings', function () %7B%0A      it('should consider colWidths provided as number', function () %7B%0A        handsontable();%0A        updateSettings(%7B%0A          colWidths: 123%0A        %7D);%0A%0A        expect(colWidth(this.$container, 0)).toBe(123);%0A      %7D);%0A%0A      it('should consider colWidths provided as string', function () %7B%0A        handsontable();%0A        updateSettings(%7B%0A          colWidths: %22123%22%0A        %7D);%0A%0A        expect(colWidth(this.$container, 0)).toBe(123);%0A      %7D);%0A%0A      it('should consider colWidths provided as array of numbers', function () %7B%0A        handsontable();%0A        updateSettings(%7B%0A          colWidths: %5B123%5D%0A        %7D);%0A%0A        expect(colWidth(this.$container, 0)).toBe(123);%0A      %7D);%0A%0A      it('should consider colWidths provided as array of strings', function () %7B%0A        handsontable();%0A        updateSettings(%7B%0A          colWidths: %5B123%5D%0A        %7D);%0A%0A        expect(colWidth(this.$container, 0)).toBe(123);%0A      %7D);%0A%0A      it('should consider colWidth provided as function that returns number', function () %7B%0A        handsontable();%0A        updateSettings(%7B%0A          colWidths: function (index) %7B%0A            if (index === 0) %7B%0A              return 123;%0A            %7D%0A            return 50;%0A          %7D%0A        %7D);%0A%0A        expect(colWidth(this.$container, 0)).toBe(123);%0A      %7D);%0A%0A      it('should consider colWidth provided as function that returns string', function () %7B%0A        handsontable();%0A        updateSettings(%7B%0A          colWidths: function (index) %7B%0A            if (index === 0) %7B%0A              return %22123%22;%0A            %7D%0A            return %2250%22;%0A          %7D%0A        %7D);%0A%0A
         expect(c

add tests for updateSettings