mirror of
https://github.com/redmine/redmine.git
synced 2025-11-07 22:05:56 +01:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user