bebanjo / delorean

DISCONTINUED - Delorean lets you travel in time with Ruby by mocking Time.now
MIT License
454 stars 25 forks source link

Specify TimeZone before running tests #13

Closed tomykaira closed 12 years ago

tomykaira commented 12 years ago

In Japan, the test failed with the following message.

'Delorean time_travel_to with block should travel through time several times' FAILED expected: Thu, 01 Jan 2009, got: Fri, 02 Jan 2009 (using ==)

The test should set running envrionment(UTC) by itself, or convert all date and time to UTC.