Rails4: fix "assert_template 'calendar'" fails at CalendarsControllerTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12800 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2014-02-04 23:51:23 +00:00
parent 8bdb66bf98
commit 61b5a44b1a
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ class CalendarsControllerTest < ActionController::TestCase
def test_show
get :show, :project_id => 1
assert_response :success
assert_template 'calendar'
assert_template :partial => '_calendar'
assert_not_nil assigns(:calendar)
end
@ -43,7 +43,7 @@ class CalendarsControllerTest < ActionController::TestCase
def test_cross_project_calendar
get :show
assert_response :success
assert_template 'calendar'
assert_template :partial => '_calendar'
assert_not_nil assigns(:calendar)
end