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:
Eric Allen 2009-09-02 09:59:16 -04:00
parent 5a148bc6db
commit 66de0f9fd8

View file

@ -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'