Rails4: fix "assert_template 'form'" fails at IssuesControllerTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12791 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2014-02-04 10:07:02 +00:00
parent a464abefdd
commit 1f2c5ac08e
1 changed files with 3 additions and 3 deletions

View File

@ -1712,7 +1712,7 @@ class IssuesControllerTest < ActionController::TestCase
:priority_id => 5} :priority_id => 5}
assert_response :success assert_response :success
assert_template 'update_form' assert_template 'update_form'
assert_template 'form' assert_template :partial => '_form'
assert_equal 'text/javascript', response.content_type assert_equal 'text/javascript', response.content_type
issue = assigns(:issue) issue = assigns(:issue)
@ -2700,7 +2700,7 @@ class IssuesControllerTest < ActionController::TestCase
assert_response :success assert_response :success
assert_equal 'text/javascript', response.content_type assert_equal 'text/javascript', response.content_type
assert_template 'update_form' assert_template 'update_form'
assert_template 'form' assert_template :partial => '_form'
issue = assigns(:issue) issue = assigns(:issue)
assert_kind_of Issue, issue assert_kind_of Issue, issue
@ -2749,7 +2749,7 @@ class IssuesControllerTest < ActionController::TestCase
:description => 'This is the description', :description => 'This is the description',
:priority_id => 5} :priority_id => 5}
assert_response :success assert_response :success
assert_template 'form' assert_template :partial => '_form'
issue = assigns(:issue) issue = assigns(:issue)
assert_kind_of Issue, issue assert_kind_of Issue, issue