mirror of
https://github.com/redmine/redmine.git
synced 2025-11-10 15:26:03 +01:00
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
This commit is contained in:
@@ -46,7 +46,7 @@ class ActivitiesControllerTest < ActionController::TestCase
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_previous_project_index
|
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_response :success
|
||||||
assert_template 'index'
|
assert_template 'index'
|
||||||
assert_not_nil assigns(:events_by_day)
|
assert_not_nil assigns(:events_by_day)
|
||||||
|
|||||||
Reference in New Issue
Block a user