summaryrefslogtreecommitdiffstats
path: root/test/functional/users_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-08-30 19:59:29 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-08-30 19:59:29 +0000
commit2342fe9a755ff6a4ed509d0eb866fde1d744b791 (patch)
tree79096e67e6ae82c0312ca32cea99d7a7528d57b0 /test/functional/users_controller_test.rb
parentb405a0be535b365276dfdfbf092107bb07c70713 (diff)
downloadredmine-2342fe9a755ff6a4ed509d0eb866fde1d744b791.tar.gz
redmine-2342fe9a755ff6a4ed509d0eb866fde1d744b791.zip
User preference for monospaced / variable-width font in textareas (#23653).
git-svn-id: http://svn.redmine.org/redmine/trunk@15753 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 78a8b6c39..f899e631a 100644
--- a/test/functional/users_controller_test.rb
+++ b/test/functional/users_controller_test.rb
@@ -202,7 +202,8 @@ class UsersControllerTest < Redmine::ControllerTest
'hide_mail' => '1',
'time_zone' => 'Paris',
'comments_sorting' => 'desc',
- 'warn_on_leaving_unsaved' => '0'
+ 'warn_on_leaving_unsaved' => '0',
+ 'textarea_font' => 'proportional'
}
}
end
@@ -212,6 +213,7 @@ class UsersControllerTest < Redmine::ControllerTest
assert_equal 'Paris', user.pref.time_zone
assert_equal 'desc', user.pref[:comments_sorting]
assert_equal '0', user.pref[:warn_on_leaving_unsaved]
+ assert_equal 'proportional', user.pref[:textarea_font]
end
def test_create_with_generate_password_should_email_the_password