Auto watch issues on issue creation (#38238).

Patch by Felix Schäfer.


git-svn-id: https://svn.redmine.org/redmine/trunk@22115 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2023-02-26 07:46:35 +00:00
parent 49bfa116a1
commit 9a625f2610
5 changed files with 50 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ class UserPreferenceTest < ActiveSupport::TestCase
def test_auto_watch_on_should_default_to_setting
preference = UserPreference.new
assert_equal ['issue_contributed_to'], preference.auto_watch_on
assert_equal %w[issue_created issue_contributed_to], preference.auto_watch_on
end
def test_create