From c01c43e5d31bbc16f01d96509fe88dd452cfa95a Mon Sep 17 00:00:00 2001 From: Adam Shaw Date: Fri, 23 May 2014 09:08:17 -0700 Subject: [PATCH] test tweaks --- tests/automated/events-gcal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/automated/events-gcal.js b/tests/automated/events-gcal.js index e241ef1..ea2b329 100644 --- a/tests/automated/events-gcal.js +++ b/tests/automated/events-gcal.js @@ -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() {