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