summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-09-24 04:18:44 +0000
committerGo MAEDA <maeda@farend.jp>2019-09-24 04:18:44 +0000
commitca16a23ad5ad235ec2b981750fb8dbb09e208d2d (patch)
treebfa3683fe2957b4fddcd50773a92f3f3d468a4d1 /test
parentfb221e80691ec4bbdbea8b4e40af221839fb5d4c (diff)
downloadredmine-ca16a23ad5ad235ec2b981750fb8dbb09e208d2d.tar.gz
redmine-ca16a23ad5ad235ec2b981750fb8dbb09e208d2d.zip
Don't show unsettable permissions in the tracker permissions table (#30431).
Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@18508 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/functional/roles_controller_test.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/roles_controller_test.rb b/test/functional/roles_controller_test.rb
index e78370a46..dccb37fc7 100644
--- a/test/functional/roles_controller_test.rb
+++ b/test/functional/roles_controller_test.rb
@@ -158,6 +158,7 @@ class RolesControllerTest < Redmine::ControllerTest
assert_select 'input[name=?][value=?]', 'role[name]', 'Manager'
assert_select 'select[name=?]', 'role[issues_visibility]'
+ assert_select '#role-permissions-trackers table .delete_issues_shown'
end
def test_edit_anonymous
@@ -166,6 +167,7 @@ class RolesControllerTest < Redmine::ControllerTest
assert_select 'input[name=?]', 'role[name]', 0
assert_select 'select[name=?]', 'role[issues_visibility]', 0
+ assert_select '#role-permissions-trackers table .delete_issues_shown', 0
end
def test_edit_invalid_should_respond_with_404