mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-28 10:04:07 +01:00
fix time zone issue in test
This commit is contained in:
parent
d7aa83b747
commit
f18ef64db4
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ class RecurringTodoTest < ActiveSupport::TestCase
|
||||||
@every_month = @monthly_every_last_friday
|
@every_month = @monthly_every_last_friday
|
||||||
@yearly = recurring_todos(:birthday_reinier)
|
@yearly = recurring_todos(:birthday_reinier)
|
||||||
|
|
||||||
@today = Time.now.utc
|
@today = Time.zone.now
|
||||||
@tomorrow = @today + 1.day
|
@tomorrow = @today + 1.day
|
||||||
@in_three_days = @today + 3.days
|
@in_three_days = @today + 3.days
|
||||||
@in_four_days = @in_three_days + 1.day # need a day after start_from
|
@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