mirror of
https://github.com/redmine/redmine.git
synced 2025-11-13 16:56:00 +01:00
Fix RuboCop offense Style/HashEachMethods (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22532 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -323,7 +323,7 @@ class IssuesCustomFieldsVisibilityTest < Redmine::ControllerTest
|
||||
# anonymous user is never notified
|
||||
users_to_test = @users_to_test.reject {|k, v| k.anonymous?}
|
||||
|
||||
users_to_test.keys.each do |user|
|
||||
users_to_test.each_key do |user|
|
||||
Watcher.create!(:user => user, :watchable => @issue)
|
||||
end
|
||||
ActionMailer::Base.deliveries.clear
|
||||
@@ -362,7 +362,7 @@ class IssuesCustomFieldsVisibilityTest < Redmine::ControllerTest
|
||||
# anonymous user is never notified
|
||||
users_to_test = @users_to_test.reject {|k, v| k.anonymous?}
|
||||
|
||||
users_to_test.keys.each do |user|
|
||||
users_to_test.each_key do |user|
|
||||
Watcher.create!(:user => user, :watchable => @issue)
|
||||
end
|
||||
ActionMailer::Base.deliveries.clear
|
||||
|
||||
Reference in New Issue
Block a user