Files
fullcalendar/tests/automated/handleWindowResize.js
T
2014-01-28 00:22:25 -08:00

20 lines
378 B
JavaScript

describe('handleWindowResize', function() {
beforeEach(function() {
affix('#cal');
});
// not true
xdescribe('When default is used, should fire resize event', function() {
it('should fire resize', function() {
var resized = 0;
$('#cal').fullCalendar({
windowResize: function(view) {
resized++;
}
});
expect(resized).toEqual(1);
});
});
});