mirror of
https://github.com/redmine/redmine.git
synced 2026-07-10 22:51:53 +02: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:
@@ -2375,11 +2375,11 @@ class IssuesControllerTest < Redmine::ControllerTest
|
||||
assert_select 'div#issue_tree span.issues-stat' do
|
||||
assert_select 'span.badge', text: '4'
|
||||
assert_select 'span.open a', text: '3 open'
|
||||
assert_equal CGI.unescape(css_select('span.open a').first.attr('href')),
|
||||
assert_equal CGI.unescape(css_select('span.open a').first.attr(:href)),
|
||||
"/issues?parent_id=~1&set_filter=true&status_id=o"
|
||||
|
||||
assert_select 'span.closed a', text: '1 closed'
|
||||
assert_equal CGI.unescape(css_select('span.closed a').first.attr('href')),
|
||||
assert_equal CGI.unescape(css_select('span.closed a').first.attr(:href)),
|
||||
"/issues?parent_id=~1&set_filter=true&status_id=c"
|
||||
end
|
||||
end
|
||||
@@ -2392,7 +2392,7 @@ class IssuesControllerTest < Redmine::ControllerTest
|
||||
|
||||
assert_select 'div#issue_tree span.issues-stat' do
|
||||
assert_select 'span.open a', text: '1 open'
|
||||
assert_equal CGI.unescape(css_select('span.open a').first.attr('href')),
|
||||
assert_equal CGI.unescape(css_select('span.open a').first.attr(:href)),
|
||||
"/issues?parent_id=~1&set_filter=true&status_id=o"
|
||||
assert_select 'span.closed', text: '0 closed'
|
||||
assert_select 'span.closed a', 0
|
||||
|
||||
Reference in New Issue
Block a user