From 567eb70fdb637f73fc1df0abd2fed52cb81d12fa Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 8 Jan 2013 23:14:03 +0000 Subject: [PATCH] Merged r11128 from trunk to 2.2-stable. Test fails when run at the beginning of the day. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.2-stable@11141 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/activities_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/activities_controller_test.rb b/test/functional/activities_controller_test.rb index 234ea7c57..8119769a3 100644 --- a/test/functional/activities_controller_test.rb +++ b/test/functional/activities_controller_test.rb @@ -37,7 +37,7 @@ class ActivitiesControllerTest < ActionController::TestCase end def test_previous_project_index - get :index, :id => 1, :from => 3.days.ago.to_date + get :index, :id => 1, :from => 2.days.ago.to_date assert_response :success assert_template 'index' assert_not_nil assigns(:events_by_day)