mirror of
https://github.com/redmine/redmine.git
synced 2026-03-06 12:31:40 +01:00
Fixed that option tags are escaped.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9683 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -142,6 +142,18 @@ class WorkflowsControllerTest < ActionController::TestCase
|
||||
get :copy
|
||||
assert_response :success
|
||||
assert_template 'copy'
|
||||
assert_select 'select[name=source_tracker_id]' do
|
||||
assert_select 'option[value=1]', :text => 'Bug'
|
||||
end
|
||||
assert_select 'select[name=source_role_id]' do
|
||||
assert_select 'option[value=2]', :text => 'Developer'
|
||||
end
|
||||
assert_select 'select[name=?]', 'target_tracker_ids[]' do
|
||||
assert_select 'option[value=3]', :text => 'Support request'
|
||||
end
|
||||
assert_select 'select[name=?]', 'target_role_ids[]' do
|
||||
assert_select 'option[value=1]', :text => 'Manager'
|
||||
end
|
||||
end
|
||||
|
||||
def test_post_copy_one_to_one
|
||||
|
||||
Reference in New Issue
Block a user