mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-24 03:00:12 +01:00
Don't set time to UTC for midnight in test.
This was causing an intermittent test failure in GMT-4.
This commit is contained in:
parent
5a148bc6db
commit
66de0f9fd8
1 changed files with 1 additions and 1 deletions
|
|
@ -433,7 +433,7 @@ class TodosControllerTest < ActionController::TestCase
|
|||
# link todo_1 and recurring_todo_1
|
||||
recurring_todo_1 = RecurringTodo.find(1)
|
||||
todo_1 = Todo.find_by_recurring_todo_id(1)
|
||||
today = Time.now.utc.at_midnight
|
||||
today = Time.now.at_midnight
|
||||
|
||||
# change recurrence pattern to monthly and set show_from to today
|
||||
recurring_todo_1.target = 'show_from_date'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue