summaryrefslogtreecommitdiffstats
path: root/test/functional/users_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2019-06-20 07:13:54 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2019-06-20 07:13:54 +0000
commit04b8be1d5b9654b08ac5e2566f5ed63f3f02d787 (patch)
tree2d68c44f7015394c7e58f6d08904995bcef10016 /test/functional/users_controller_test.rb
parentd3e51b4235a1c53b0ad042397a7b2ad893fc6dcc (diff)
downloadredmine-04b8be1d5b9654b08ac5e2566f5ed63f3f02d787.tar.gz
redmine-04b8be1d5b9654b08ac5e2566f5ed63f3f02d787.zip
User preference for issue history default tab (#3058).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18277 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/users_controller_test.rb')
-rw-r--r--test/functional/users_controller_test.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/functional/users_controller_test.rb b/test/functional/users_controller_test.rb
index dd5454909..846a85cd5 100644
--- a/test/functional/users_controller_test.rb
+++ b/test/functional/users_controller_test.rb
@@ -292,7 +292,8 @@ class UsersControllerTest < Redmine::ControllerTest
'time_zone' => 'Paris',
'comments_sorting' => 'desc',
'warn_on_leaving_unsaved' => '0',
- 'textarea_font' => 'proportional'
+ 'textarea_font' => 'proportional',
+ 'history_default_tab' => 'history'
}
}
end
@@ -303,6 +304,7 @@ class UsersControllerTest < Redmine::ControllerTest
assert_equal 'desc', user.pref[:comments_sorting]
assert_equal '0', user.pref[:warn_on_leaving_unsaved]
assert_equal 'proportional', user.pref[:textarea_font]
+ assert_equal 'history', user.pref[:history_default_tab]
end
def test_create_with_generate_password_should_email_the_password