mirror of
https://github.com/redmine/redmine.git
synced 2025-11-04 20:35:57 +01:00
Remove unused tooltip variables from reactions_helper_test.rb (#42630).
Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23981 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -166,7 +166,6 @@ class ReactionsHelperTest < ActionView::TestCase
|
|||||||
result = with_locale('en') do
|
result = with_locale('en') do
|
||||||
reaction_button(issue)
|
reaction_button(issue)
|
||||||
end
|
end
|
||||||
tooltip = 'Dave Lopper, John Smith, and Redmine Admin'
|
|
||||||
|
|
||||||
assert_select_in result, 'span.reaction-button-wrapper[data-reaction-button-id=?]', 'reaction_issue_1' do
|
assert_select_in result, 'span.reaction-button-wrapper[data-reaction-button-id=?]', 'reaction_issue_1' do
|
||||||
href = reaction_path(issue.reaction_detail.user_reaction, object_type: 'Issue', object_id: 1)
|
href = reaction_path(issue.reaction_detail.user_reaction, object_type: 'Issue', object_id: 1)
|
||||||
@@ -188,7 +187,6 @@ class ReactionsHelperTest < ActionView::TestCase
|
|||||||
result = with_locale('en') do
|
result = with_locale('en') do
|
||||||
reaction_button(issue)
|
reaction_button(issue)
|
||||||
end
|
end
|
||||||
tooltip = 'Dave Lopper, John Smith, and Redmine Admin'
|
|
||||||
|
|
||||||
assert_select_in result, 'span.reaction-button-wrapper[data-reaction-button-id=?]', 'reaction_issue_1' do
|
assert_select_in result, 'span.reaction-button-wrapper[data-reaction-button-id=?]', 'reaction_issue_1' do
|
||||||
href = reactions_path(object_type: 'Issue', object_id: 1)
|
href = reactions_path(object_type: 'Issue', object_id: 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user