mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-25 10:16:11 +01:00
Fix #1722
This commit is contained in:
parent
ef33ce5bbc
commit
ed9063bffa
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