handleWindowResize.js 387 B

12345678910111213141516171819202122
  1. describe('handleWindowResize', function() {
  2. beforeEach(function() {
  3. affix('#cal');
  4. });
  5. // not true
  6. /*
  7. xdescribe('When default is used, should fire resize event', function() {
  8. it('should fire resize', function() {
  9. var resized = 0;
  10. $('#cal').fullCalendar({
  11. windowResize: function(view) {
  12. resized++;
  13. }
  14. });
  15. expect(resized).toEqual(1);
  16. });
  17. });
  18. */
  19. });