]> source.dussan.org Git - redmine.git/commitdiff
Test fails when run at the beginning of the day.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 6 Jan 2013 09:54:24 +0000 (09:54 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 6 Jan 2013 09:54:24 +0000 (09:54 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11128 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/activities_controller_test.rb

index 8d175256b67018393b43ce6e1390f15c91daeaa7..f7d4d459c7d4d8aa224348fd93d7b16dcfba88c7 100644 (file)
@@ -46,7 +46,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)