Fixed that enumerations option tags are escaped.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9681 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2012-05-13 08:45:15 +00:00
parent 46400e355e
commit 69e55fb1ef
2 changed files with 4 additions and 1 deletions
@@ -105,6 +105,9 @@ class EnumerationsControllerTest < ActionController::TestCase
assert_response :success
assert_template 'destroy'
assert_not_nil Enumeration.find_by_id(4)
assert_select 'select[name=reassign_to_id]' do
assert_select 'option[value=6]', :text => 'High'
end
end
def test_destroy_enumeration_in_use_with_reassignment