From 9172a90ef108cea848014db7dcce8ef79e4103c6 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 4 Nov 2020 14:43:42 +0000 Subject: [PATCH] add space after comma to IssuesCustomFieldsVisibilityTest git-svn-id: http://svn.redmine.org/redmine/trunk@20247 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/issues_custom_fields_visibility_test.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/functional/issues_custom_fields_visibility_test.rb b/test/functional/issues_custom_fields_visibility_test.rb index 1159cd829..d0251ec54 100644 --- a/test/functional/issues_custom_fields_visibility_test.rb +++ b/test/functional/issues_custom_fields_visibility_test.rb @@ -266,7 +266,7 @@ class IssuesCustomFieldsVisibilityTest < Redmine::ControllerTest def test_create_should_send_notifications_according_custom_fields_visibility # anonymous user is never notified - users_to_test = @users_to_test.reject {|k,v| k.anonymous?} + users_to_test = @users_to_test.reject {|k, v| k.anonymous?} ActionMailer::Base.deliveries.clear @request.session[:user_id] = 1 @@ -308,7 +308,7 @@ class IssuesCustomFieldsVisibilityTest < Redmine::ControllerTest def test_update_should_send_notifications_according_custom_fields_visibility # anonymous user is never notified - users_to_test = @users_to_test.reject {|k,v| k.anonymous?} + users_to_test = @users_to_test.reject {|k, v| k.anonymous?} users_to_test.keys.each do |user| Watcher.create!(:user => user, :watchable => @issue) @@ -345,7 +345,7 @@ class IssuesCustomFieldsVisibilityTest < Redmine::ControllerTest def test_updating_hidden_custom_fields_only_should_not_notifiy_user # anonymous user is never notified - users_to_test = @users_to_test.reject {|k,v| k.anonymous?} + users_to_test = @users_to_test.reject {|k, v| k.anonymous?} users_to_test.keys.each do |user| Watcher.create!(:user => user, :watchable => @issue) -- 2.39.5