Adam Shaw пре 11 година
родитељ
комит
8d1b3b61da

+ 3 - 1
tests/automated/event-dnd.js

@@ -1,6 +1,7 @@
 
 // can't do event dragging yet.
 // need to work out how fullCalendar is intercepting events.
+/*
 xdescribe('when event is dragged from one cell to another', function() {
 	it('should move to the new cell', function() {
 		var eventName = 'xyzAllDayEvent';
@@ -27,4 +28,5 @@ xdescribe('when event is dragged from one cell to another', function() {
 		el.simulate('drag', options);
 		dump(el.offset());
 	});
-});
+});
+*/

+ 2 - 0
tests/automated/handleWindowResize.js

@@ -6,6 +6,7 @@ describe('handleWindowResize', function() {
 	});
 
 	// not true
+	/*
 	xdescribe('When default is used, should fire resize event', function() {
 		it('should fire resize', function() {
 			var resized = 0;
@@ -17,4 +18,5 @@ describe('handleWindowResize', function() {
 			expect(resized).toEqual(1);
 		});
 	});
+	*/
 });

+ 1 - 1
tests/automated/now.js

@@ -5,7 +5,7 @@ describe('now', function() {
 	beforeEach(function() {
 		affix('#cal');
 		options = {
-			defaultDate: '2014-05-1'
+			defaultDate: '2014-05-01'
 		};
 	});
 

+ 0 - 1
tests/automated/weekends.js

@@ -3,7 +3,6 @@ describe('when weekends option is set', function() {
 
 	beforeEach(function() {
 		affix('#calendar');
-		var cal = $('#calendar');
 	});
 
 	it('should show sat and sun if true', function() {