Переглянути джерело

temporary do one test for gcal

Adam Shaw 8 роки тому
батько
коміт
4a6d165e06
1 змінених файлів з 5 додано та 2 видалено
  1. 5 2
      tests/legacy/events-gcal.js

+ 5 - 2
tests/legacy/events-gcal.js

@@ -1,5 +1,5 @@
 
-xdescribe('Google Calendar plugin', function() {
+fdescribe('Google Calendar plugin', function() {
 
 	var API_KEY = 'AIzaSyDcnW6WejpTOCffshGDDb4neIrXVUA1EAE';
 	var HOLIDAY_CALENDAR_ID = 'en.usa#[email protected]';
@@ -29,7 +29,7 @@ xdescribe('Google Calendar plugin', function() {
 		console.warn = oldConsoleWarn;
 	});
 
-	it('request/receives correctly when local timezone', function(done) {
+	fit('request/receives correctly when local timezone', function(done) {
 		options.googleCalendarApiKey = API_KEY;
 		options.events = { googleCalendarId: HOLIDAY_CALENDAR_ID };
 		options.timezone = 'local';
@@ -49,6 +49,9 @@ xdescribe('Google Calendar plugin', function() {
 
 			done();
 		};
+		options.googleCalendarError = function(calendar, message) {
+			console.log('GCAL ERROR', message);
+		};
 		$('#cal').fullCalendar(options);
 	});