From 1f2c5ac08eb5d8752a52cc5d1ec9fba66e57696d Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 4 Feb 2014 10:07:02 +0000 Subject: [PATCH] Rails4: fix "assert_template 'form'" fails at IssuesControllerTest git-svn-id: http://svn.redmine.org/redmine/trunk@12791 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/issues_controller_test.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index d3c1bf529..cc03b7d5f 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -1712,7 +1712,7 @@ class IssuesControllerTest < ActionController::TestCase :priority_id => 5} assert_response :success assert_template 'update_form' - assert_template 'form' + assert_template :partial => '_form' assert_equal 'text/javascript', response.content_type issue = assigns(:issue) @@ -2700,7 +2700,7 @@ class IssuesControllerTest < ActionController::TestCase assert_response :success assert_equal 'text/javascript', response.content_type assert_template 'update_form' - assert_template 'form' + assert_template :partial => '_form' issue = assigns(:issue) assert_kind_of Issue, issue @@ -2749,7 +2749,7 @@ class IssuesControllerTest < ActionController::TestCase :description => 'This is the description', :priority_id => 5} assert_response :success - assert_template 'form' + assert_template :partial => '_form' issue = assigns(:issue) assert_kind_of Issue, issue -- 2.39.5