mirror of
https://github.com/wassname/fullcalendar.git
synced 2026-07-31 12:20:08 +08:00
test tweaks
This commit is contained in:
@@ -87,7 +87,7 @@ describe('Google Calendar plugin', function() {
|
||||
$('#cal').fullCalendar(options);
|
||||
expect(currentRequest.data['start-min']).toEqual('2014-04-27');
|
||||
expect(currentRequest.data['start-max']).toEqual('2014-06-08');
|
||||
expect(typeof currentRequest.data.ctz).toEqual('undefined');
|
||||
expect(currentRequest.data.ctz).toBeUndefined();
|
||||
});
|
||||
|
||||
it('sends request correctly when local timezone', function() {
|
||||
@@ -95,7 +95,7 @@ describe('Google Calendar plugin', function() {
|
||||
$('#cal').fullCalendar(options);
|
||||
expect(currentRequest.data['start-min']).toEqual('2014-04-27');
|
||||
expect(currentRequest.data['start-max']).toEqual('2014-06-08');
|
||||
expect(typeof currentRequest.data.ctz).toEqual('undefined');
|
||||
expect(currentRequest.data.ctz).toBeUndefined();
|
||||
});
|
||||
|
||||
it('sends request correctly when UTC timezone', function() {
|
||||
|
||||
Reference in New Issue
Block a user