mirror of
https://github.com/redmine/redmine.git
synced 2025-11-11 07:46:02 +01:00
add space after comma to IssuesCustomFieldsVisibilityTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20247 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -266,7 +266,7 @@ class IssuesCustomFieldsVisibilityTest < Redmine::ControllerTest
|
|||||||
|
|
||||||
def test_create_should_send_notifications_according_custom_fields_visibility
|
def test_create_should_send_notifications_according_custom_fields_visibility
|
||||||
# anonymous user is never notified
|
# 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
|
ActionMailer::Base.deliveries.clear
|
||||||
@request.session[:user_id] = 1
|
@request.session[:user_id] = 1
|
||||||
@@ -308,7 +308,7 @@ class IssuesCustomFieldsVisibilityTest < Redmine::ControllerTest
|
|||||||
|
|
||||||
def test_update_should_send_notifications_according_custom_fields_visibility
|
def test_update_should_send_notifications_according_custom_fields_visibility
|
||||||
# anonymous user is never notified
|
# 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|
|
users_to_test.keys.each do |user|
|
||||||
Watcher.create!(:user => user, :watchable => @issue)
|
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
|
def test_updating_hidden_custom_fields_only_should_not_notifiy_user
|
||||||
# anonymous user is never notified
|
# 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|
|
users_to_test.keys.each do |user|
|
||||||
Watcher.create!(:user => user, :watchable => @issue)
|
Watcher.create!(:user => user, :watchable => @issue)
|
||||||
|
|||||||
Reference in New Issue
Block a user