Skip to content

Commit

Permalink
Fix tests (timezone problem)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hector Virgen committed Oct 12, 2014
1 parent b723c5a commit d190e03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/taggedClientStorageSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ define(function(require) {

beforeEach(inject(function(taggedClientStorage) {
this.clientStorage = taggedClientStorage;
this.now = new Date(2014, 9, 16); // October 16th, 2014
this.clock = sinon.useFakeTimers(this.now.getTime());
this.now = 1413442800000; // October 16th, 2014
this.clock = sinon.useFakeTimers(this.now);
}));

afterEach(function() {
Expand Down

0 comments on commit d190e03

Please sign in to comment.