mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-06 01:08:50 +01:00
Fix #1722
This commit is contained in:
parent
31217762a0
commit
d7fbcb10c4
7 changed files with 10 additions and 7 deletions
|
|
@ -13,7 +13,8 @@ class ActiveSupport::TestCase
|
|||
fixtures :all
|
||||
|
||||
def setup
|
||||
@today = Time.now.utc
|
||||
Time.zone = SITE_CONFIG['time_zone']
|
||||
@today = Time.zone.now
|
||||
@tomorrow = @today + 1.day
|
||||
@in_three_days = @today + 3.days
|
||||
@in_four_days = @in_three_days + 1.day # need a day after start_from
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue