mirror of
https://github.com/redmine/redmine.git
synced 2026-03-06 12:31:40 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user