From c5591aec30c2dcc0317ecc391eb49c43009ee04d Mon Sep 17 00:00:00 2001 From: Sean Kenny Date: Tue, 23 Sep 2014 18:41:21 +0100 Subject: [PATCH] . --- tests/automated/weekMode.js | 3 ++- tests/resourceDayView.html | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/automated/weekMode.js b/tests/automated/weekMode.js index c6a755b..ea1cb60 100644 --- a/tests/automated/weekMode.js +++ b/tests/automated/weekMode.js @@ -65,7 +65,8 @@ describe('weekMode', function() { describe('when weekMode is set to liquid', function() { beforeEach(function() { $('#cal').fullCalendar({ - weekMode: 'liquid' + weekMode: 'liquid', + defaultView: 'month' }); }); it('should show 5 weeks for a 5 week month', function() { diff --git a/tests/resourceDayView.html b/tests/resourceDayView.html index a7af103..96a3891 100644 --- a/tests/resourceDayView.html +++ b/tests/resourceDayView.html @@ -58,14 +58,15 @@ editable: true, selectable: true, selectHelper: true, - allDaySlot: true, + // allDaySlot: true, + weekMode: 'liquid', // weekends: false, header: { left: 'prev,next today', center: 'title', - right: 'agendaDay,resourceDay' + right: 'month,agendaDay,resourceDay' }, - defaultView: 'resourceDay', + defaultView: 'month', resources: [ { 'id': 'resource1', 'name': 'Resource 1', 'className': 'css-class-as-string' }, { 'id': 'resource2', 'name': 'Resource 2', 'className': ['green', 'another-css-class-name'] },