diff --git a/tests/automated/moment-ambig.js b/tests/automated/moment-ambig.js index 00f05f8..268ffd5 100644 --- a/tests/automated/moment-ambig.js +++ b/tests/automated/moment-ambig.js @@ -285,7 +285,7 @@ describe('ambiguously-timed moment', function() { describe('unambiguous moment', function() { it('can be made ambiguously-zoned via stripZone', function() { - var mom = $.fullCalendar.moment('2014-06-08T10:00:00-0700'); + var mom = $.fullCalendar.moment.utc('2014-06-08T10:00:00-0000'); expect(mom.hasZone()).toBe(true); expect(mom.hasTime()).toBe(true); mom.stripZone(); @@ -295,7 +295,7 @@ describe('unambiguous moment', function() { }); it('can be made ambigously-timed via stripTime', function() { - var mom = $.fullCalendar.moment('2014-06-08T10:00:00-0700'); + var mom = $.fullCalendar.moment.utc('2014-06-08T10:00:00-0000'); expect(mom.hasTime()).toBe(true); expect(mom.hasZone()).toBe(true); mom.stripTime();