From b2a9928c3aafac59d280336f3244b88732b59d2c Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Fri, 30 Aug 2024 15:59:59 +0000 Subject: [PATCH] Fixes rubocop offenses introduced by r22991 (#23980). git-svn-id: https://svn.redmine.org/redmine/trunk@22992 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/helpers/watchers_helper_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/helpers/watchers_helper_test.rb b/test/helpers/watchers_helper_test.rb index 3943b8447..42016ec01 100644 --- a/test/helpers/watchers_helper_test.rb +++ b/test/helpers/watchers_helper_test.rb @@ -37,7 +37,7 @@ class WatchersHelperTest < Redmine::HelperTest test '#watcher_link with a single object array' do expected = link_to( - icon_with_label("fav-off","Watch"), + icon_with_label("fav-off", "Watch"), "/watchers/watch?object_id=1&object_type=issue", :remote => true, :method => 'post', :class => "issue-1-watcher icon icon-fav-off" ) @@ -61,7 +61,7 @@ class WatchersHelperTest < Redmine::HelperTest Watcher.create!(:watchable => Issue.find(1), :user => User.find(1)) expected = link_to( - icon_with_label("fav","Unwatch"), + icon_with_label("fav", "Unwatch"), "/watchers/watch?object_id=1&object_type=issue", :remote => true, :method => 'delete', :class => "issue-1-watcher icon icon-fav" ) -- 2.39.5