@@ -46,7 +46,7 class ActivitiesControllerTest < ActionController::TestCase | |||||
46 | end |
|
46 | end | |
47 |
|
47 | |||
48 | def test_previous_project_index |
|
48 | def test_previous_project_index | |
49 |
get :index, :id => 1, :from => |
|
49 | get :index, :id => 1, :from => 2.days.ago.to_date | |
50 | assert_response :success |
|
50 | assert_response :success | |
51 | assert_template 'index' |
|
51 | assert_template 'index' | |
52 | assert_not_nil assigns(:events_by_day) |
|
52 | assert_not_nil assigns(:events_by_day) |
General Comments 0
You need to be logged in to leave comments.
Login now