diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-05-13 08:45:15 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-05-13 08:45:15 +0000 |
commit | 69e55fb1ef26c0744993e3f83e80ea987d9db5c9 (patch) | |
tree | a9919df155e168e4c88d9f9cca0019616ff759a9 /test/functional/enumerations_controller_test.rb | |
parent | 46400e355efea3c7b2ab0bd6294448fb8c750b79 (diff) | |
download | redmine-69e55fb1ef26c0744993e3f83e80ea987d9db5c9.tar.gz redmine-69e55fb1ef26c0744993e3f83e80ea987d9db5c9.zip |
Fixed that enumerations option tags are escaped.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9681 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/enumerations_controller_test.rb')
-rw-r--r-- | test/functional/enumerations_controller_test.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/enumerations_controller_test.rb b/test/functional/enumerations_controller_test.rb index 7378e6f46..b13fc86f7 100644 --- a/test/functional/enumerations_controller_test.rb +++ b/test/functional/enumerations_controller_test.rb @@ -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 |