@@ -29,7 +29,7 class CalendarsControllerTest < ActionController::TestCase | |||||
29 | def test_show |
|
29 | def test_show | |
30 | get :show, :project_id => 1 |
|
30 | get :show, :project_id => 1 | |
31 | assert_response :success |
|
31 | assert_response :success | |
32 | assert_template 'calendar' |
|
32 | assert_template :partial => '_calendar' | |
33 | assert_not_nil assigns(:calendar) |
|
33 | assert_not_nil assigns(:calendar) | |
34 | end |
|
34 | end | |
35 |
|
35 | |||
@@ -43,7 +43,7 class CalendarsControllerTest < ActionController::TestCase | |||||
43 | def test_cross_project_calendar |
|
43 | def test_cross_project_calendar | |
44 | get :show |
|
44 | get :show | |
45 | assert_response :success |
|
45 | assert_response :success | |
46 | assert_template 'calendar' |
|
46 | assert_template :partial => '_calendar' | |
47 | assert_not_nil assigns(:calendar) |
|
47 | assert_not_nil assigns(:calendar) | |
48 | end |
|
48 | end | |
49 |
|
49 |
General Comments 0
You need to be logged in to leave comments.
Login now