summaryrefslogtreecommitdiffstats
path: root/test/functional/activities_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-01-06 09:54:24 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-01-06 09:54:24 +0000
commitd2785d680d0d0a86fc42bfdca47435f5ec892b9c (patch)
tree52027e2107e9525a7e00bee57cb23484d664c4de /test/functional/activities_controller_test.rb
parent4bc2805c4adf27025268b3464447056fa0f01850 (diff)
downloadredmine-d2785d680d0d0a86fc42bfdca47435f5ec892b9c.tar.gz
redmine-d2785d680d0d0a86fc42bfdca47435f5ec892b9c.zip
Test fails when run at the beginning of the day.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11128 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/activities_controller_test.rb')
-rw-r--r--test/functional/activities_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/activities_controller_test.rb b/test/functional/activities_controller_test.rb
index 8d175256b..f7d4d459c 100644
--- a/test/functional/activities_controller_test.rb
+++ b/test/functional/activities_controller_test.rb
@@ -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)