diff --git a/spec/spec-helper.coffee b/spec/spec-helper.coffee index 2379cc650..6ac492995 100644 --- a/spec/spec-helper.coffee +++ b/spec/spec-helper.coffee @@ -64,7 +64,6 @@ beforeEach -> atom.project.setPaths([specProjectPath]) window.resetTimeouts() - spyOn(Date, 'now').andCallFake -> window.now spyOn(_._, "now").andCallFake -> window.now spyOn(window, "setTimeout").andCallFake window.fakeSetTimeout spyOn(window, "clearTimeout").andCallFake window.fakeClearTimeout @@ -180,7 +179,6 @@ jasmine.useRealClock = -> jasmine.unspy(window, 'setTimeout') jasmine.unspy(window, 'clearTimeout') jasmine.unspy(_._, 'now') - jasmine.unspy(Date, 'now') # The clock is halfway mocked now in a sad and terrible way... only setTimeout # and clearTimeout are included. This method will also include setInterval. We