mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-05 00:23:24 +00:00
Fixes failing test introduced in r23956 (#42880).
git-svn-id: https://svn.redmine.org/redmine/trunk@23958 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
3a19544136
commit
48e2621fa6
@ -67,10 +67,8 @@ class UserPreferenceTest < ActiveSupport::TestCase
|
||||
end
|
||||
|
||||
def test_auto_watch_on_should_default_to_options
|
||||
with_settings :default_users_auto_watch_on => nil do
|
||||
preference = UserPreference.new
|
||||
assert_equal %w[issue_created issue_contributed_to], preference.auto_watch_on
|
||||
end
|
||||
preference = UserPreference.new
|
||||
assert_equal %w[issue_created issue_contributed_to], preference.auto_watch_on
|
||||
end
|
||||
|
||||
def test_create
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user