DEV: mock the clock

DEV: mock the clock

This uses sinon with shouldAdvanceTime to simulate running this test at a consistent date which is not Feb 29th

diff --git a/test/javascripts/acceptance/cakeday-test.js.es6 b/test/javascripts/acceptance/cakeday-test.js.es6
index 5694d80..8599f2b 100644
--- a/test/javascripts/acceptance/cakeday-test.js.es6
+++ b/test/javascripts/acceptance/cakeday-test.js.es6
@@ -1,8 +1,18 @@
 import { acceptance } from "helpers/qunit-helpers";
 
 const DATE = moment("2016-11-21");
+let clock;
 
 acceptance("Cakeday", {
+  beforeEach: function() {
+    clock = sinon.useFakeTimers({
+      now: DATE.toDate().getTime(),
+      shouldAdvanceTime: true
+    });
+  },
+  afterEach: function() {
+    clock.restore();
+  },
   loggedIn: true,
   settings: {
     cakeday_enabled: true,

GitHub sha: 8be2ad41