|
|
@@ -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);
|
|
|
});
|
|
|
|