diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-02-04 23:51:23 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-02-04 23:51:23 +0000 |
commit | 61b5a44b1ab075c9df62e69a3458c154971093d1 (patch) | |
tree | c7dabb075f76f3a8d3508e6946f933c9b6191840 /test/functional/calendars_controller_test.rb | |
parent | 8bdb66bf98e6340f680f5cf428c776c73fac59a5 (diff) | |
download | redmine-61b5a44b1ab075c9df62e69a3458c154971093d1.tar.gz redmine-61b5a44b1ab075c9df62e69a3458c154971093d1.zip |
Rails4: fix "assert_template 'calendar'" fails at CalendarsControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12800 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/calendars_controller_test.rb')
-rw-r--r-- | test/functional/calendars_controller_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/calendars_controller_test.rb b/test/functional/calendars_controller_test.rb index 8e55f789d..e67d05dfb 100644 --- a/test/functional/calendars_controller_test.rb +++ b/test/functional/calendars_controller_test.rb @@ -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 |