summaryrefslogtreecommitdiffstats
path: root/test/functional/projects_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-07-27 16:42:50 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-07-27 16:42:50 +0000
commit000ff80320702247dfe9016f98fab70f5ab9ea2a (patch)
tree3f1b9870a11bf910b18cd56e81c1a814d80628d4 /test/functional/projects_controller_test.rb
parent09148ba665d60a7ee1554f7764eade8e63c69db0 (diff)
downloadredmine-000ff80320702247dfe9016f98fab70f5ab9ea2a.tar.gz
redmine-000ff80320702247dfe9016f98fab70f5ab9ea2a.zip
Project settings: Move issue tracking settings to their own tab (#26488).
git-svn-id: http://svn.redmine.org/redmine/trunk@16896 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/projects_controller_test.rb')
-rw-r--r--test/functional/projects_controller_test.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb
index 49c5ac54f..ebc159c1f 100644
--- a/test/functional/projects_controller_test.rb
+++ b/test/functional/projects_controller_test.rb
@@ -879,10 +879,8 @@ class ProjectsControllerTest < Redmine::ControllerTest
:id => source.id
}
assert_response :success
- assert_select 'fieldset#project_issue_custom_fields' do
- assert_select 'input[type=checkbox][value=?][checked=checked]', field1.id.to_s
- assert_select 'input[type=checkbox][value=?]:not([checked])', field2.id.to_s
- end
+ assert_select 'input[type=hidden][name=?][value=?]', 'project[issue_custom_field_ids][]', field1.id.to_s
+ assert_select 'input[type=hidden][name=?][value=?]', 'project[issue_custom_field_ids][]', field2.id.to_s, 0
end
def test_post_copy_should_copy_requested_items