]> source.dussan.org Git - redmine.git/commitdiff
Fixes rubocop offenses introduced by r22991 (#23980).
authorMarius Balteanu <marius.balteanu@zitec.com>
Fri, 30 Aug 2024 15:59:59 +0000 (15:59 +0000)
committerMarius Balteanu <marius.balteanu@zitec.com>
Fri, 30 Aug 2024 15:59:59 +0000 (15:59 +0000)
git-svn-id: https://svn.redmine.org/redmine/trunk@22992 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/helpers/watchers_helper_test.rb

index 3943b8447af73ff33334f52d565f84180a421b67..42016ec01d3c60510d5a0aeca5212159507ad1f4 100644 (file)
@@ -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"
     )