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