cleanup: rubocop: fix Layout/AlignArguments in test/functional/roles_controller_test.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@19175 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2019-11-22 16:49:32 +00:00
parent 34aa758c1d
commit 80b0ee2cf8
2 changed files with 3 additions and 2 deletions

View File

@@ -15,7 +15,6 @@ Layout/AlignArguments:
- 'lib/redmine/scm/adapters/bazaar_adapter.rb'
- 'test/functional/journals_controller_test.rb'
- 'test/functional/my_controller_test.rb'
- 'test/functional/roles_controller_test.rb'
- 'test/integration/api_test/attachments_test.rb'
- 'test/integration/api_test/groups_test.rb'
- 'test/integration/api_test/issue_relations_test.rb'

View File

@@ -69,8 +69,10 @@ class RolesControllerTest < Redmine::ControllerTest
get :new
assert_response :success
assert_equal %w(view_documents view_issues),
assert_equal(
%w(view_documents view_issues),
css_select('input[name="role[permissions][]"][checked=checked]').map {|e| e.attr('value')}.sort
)
end
def test_new_with_copy