@@ -37,7 +37,7 class ActivitiesControllerTest < ActionController::TestCase | |||||
37 | end |
|
37 | end | |
38 |
|
38 | |||
39 | def test_previous_project_index |
|
39 | def test_previous_project_index | |
40 |
get :index, :id => 1, :from => |
|
40 | get :index, :id => 1, :from => 2.days.ago.to_date | |
41 | assert_response :success |
|
41 | assert_response :success | |
42 | assert_template 'index' |
|
42 | assert_template 'index' | |
43 | assert_not_nil assigns(:events_by_day) |
|
43 | assert_not_nil assigns(:events_by_day) |
General Comments 0
You need to be logged in to leave comments.
Login now