Merged r10083 from trunk to 2.0-stable (#11511)

fix confirmation page has broken HTML when a project folding sub project is deleted.

Contributed by Haruka Yoshihara.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.0-stable@10084 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2012-07-27 00:40:57 +00:00
parent d42a675668
commit 48e4facc3c
2 changed files with 6 additions and 1 deletions

View File

@@ -412,6 +412,10 @@ class ProjectsControllerTest < ActionController::TestCase
assert_response :success
assert_template 'destroy'
assert_not_nil Project.find_by_id(1)
assert_tag :tag => 'strong',
:content => ['Private child of eCookbook',
'Child of private child, eCookbook Subproject 1',
'eCookbook Subproject 2'].join(', ')
end
def test_destroy