Adam Shaw 9 лет назад
Родитель
Сommit
fa33942bf8
2 измененных файлов с 4 добавлено и 3 удалено
  1. 3 2
      tests/automated/custom-view-class.js
  2. 1 1
      tests/automated/refetchEventSources.js

+ 3 - 2
tests/automated/custom-view-class.js

@@ -48,11 +48,12 @@ describe('custom view class', function() {
 
 		$('#cal').fullCalendar({
 			defaultView: 'custom',
+			defaultDate: '2014-12-25',
 			events: [
 				{
 					title: 'Holidays',
-					start: '2014-12-24',
-					end: '2014-12-26'
+					start: '2014-12-25T09:00:00',
+					end: '2014-12-25T11:00:00'
 				}
 			]
 		});

+ 1 - 1
tests/automated/refetchEventSources.js

@@ -182,7 +182,7 @@ describe('refetchEventSources', function() {
 			calendarEl.fullCalendar(options);
 
 			var allEventSources = calendarEl.fullCalendar('getEventSources');
-			var greenEventSources = $.grep(allEventSources, function(eventSource) {
+			var greenEventSources = $.grep(allEventSources, function(eventSource) { // source 1 and 3
 				return eventSource.color === 'green';
 			});