diff options
author | Go MAEDA <maeda@farend.jp> | 2021-12-29 06:12:27 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2021-12-29 06:12:27 +0000 |
commit | b6a26a60f3d425f340adc76e27d38c19505f254c (patch) | |
tree | 14475ea267754be1db511bff8ea1cfbf8901faef /test/functional/projects_controller_test.rb | |
parent | 52aef905ff92ebb34b7b6dbf870405f2351b41b4 (diff) | |
download | redmine-b6a26a60f3d425f340adc76e27d38c19505f254c.tar.gz redmine-b6a26a60f3d425f340adc76e27d38c19505f254c.zip |
Fixes for Performance/StringIdentifierArgument introduced in RuboCop Performance 1.13.0 (#35142).
git-svn-id: http://svn.redmine.org/redmine/trunk@21330 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/projects_controller_test.rb')
-rw-r--r-- | test/functional/projects_controller_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb index a26793a20..38d70150c 100644 --- a/test/functional/projects_controller_test.rb +++ b/test/functional/projects_controller_test.rb @@ -139,8 +139,8 @@ class ProjectsControllerTest < Redmine::ControllerTest } assert_response :success - child_level1 = css_select('tr#project-5').map {|e| e.attr('class')}.first.split(' ') - child_level2 = css_select('tr#project-6').map {|e| e.attr('class')}.first.split(' ') + child_level1 = css_select('tr#project-5').map {|e| e.attr(:class)}.first.split(' ') + child_level2 = css_select('tr#project-6').map {|e| e.attr(:class)}.first.split(' ') assert_include 'idnt', child_level1 assert_include 'idnt-1', child_level1 |