mirror of
https://github.com/redmine/redmine.git
synced 2025-11-18 11:10:52 +01:00
Fixes rubocop offenses introduced by r22991 (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@22992 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -37,7 +37,7 @@ class WatchersHelperTest < Redmine::HelperTest
|
|||||||
|
|
||||||
test '#watcher_link with a single object array' do
|
test '#watcher_link with a single object array' do
|
||||||
expected = link_to(
|
expected = link_to(
|
||||||
icon_with_label("fav-off","Watch"),
|
icon_with_label("fav-off", "Watch"),
|
||||||
"/watchers/watch?object_id=1&object_type=issue",
|
"/watchers/watch?object_id=1&object_type=issue",
|
||||||
:remote => true, :method => 'post', :class => "issue-1-watcher icon icon-fav-off"
|
: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))
|
Watcher.create!(:watchable => Issue.find(1), :user => User.find(1))
|
||||||
|
|
||||||
expected = link_to(
|
expected = link_to(
|
||||||
icon_with_label("fav","Unwatch"),
|
icon_with_label("fav", "Unwatch"),
|
||||||
"/watchers/watch?object_id=1&object_type=issue",
|
"/watchers/watch?object_id=1&object_type=issue",
|
||||||
:remote => true, :method => 'delete', :class => "issue-1-watcher icon icon-fav"
|
:remote => true, :method => 'delete', :class => "issue-1-watcher icon icon-fav"
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user